Skip to content

#227313

a dark, vivid green · cool · closest name: Green

RGB
34, 115, 19
HSL
111°, 72%, 26%
CMYK
70, 0, 84, 55
Luminance
0.1265

At a glance

Every number on this page in one read: what #227313 is made of, how bright it looks, and which way it leans.

Hex
#227313
Hue
111°
green
Saturation
72%
vivid
Lightness
26%
dark
Brightness
45%
HSV value
Perceived
35%
weighted brightness
Luminance
0.1265
WCAG relative
Temperature
Cool
59/100 cool
Color family
Green
Tone
Vivid
Best ink
White
5.95:1
Closest name
Green
ΔE2000 4.9
Where it sits
Hue111° of 360°
Saturation72%
Lightness26%
Temperature
Warm ← → Cool59% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#227313
RGBrgb(34, 115, 19)
HSLhsl(111, 72%, 26%)
CMYKcmyk(70%, 0%, 84%, 55%)
LABlab(42.2 -42.3 42.1)
LCHlch(42.2 59.7 135.1)
OKLCHoklch(0.488 0.149 141.0)
Decimal2257683
Display P3color(display-p3 0.133 0.451 0.075)

Copy-ready code

/* CSS */
color: #227313;
background-color: #227313;
/* Tailwind (arbitrary) */
class="text-[#227313] bg-[#227313]"
/* SCSS */
$brand: #227313;
/* SwiftUI */
Color(red: 0.133, green: 0.451, blue: 0.075)
/* Android */
Color.parseColor("#227313")
/* Flutter */
Color(0xFF227313)
/* Python / OpenCV (BGR) */
(19, 115, 34)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #227313 · 5.95:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.95:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.53:1
AA fail · AA large pass · AAA fail
Reading the other direction: #227313 as text scores 5.95:1 on white and 3.53:1 on black.

Accessibility — WCAG contrast

Aa
#227313 on white: 5.95:1
AA ✓ pass · AA-large · AAA
Aa
#227313 on black: 3.53:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #766800
deuteranopia · #6D611F
tritanopia · #116F61

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #227313 is pinned to step 900; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F4FCF3
#EAF8E7
#D0F3C9
#ABEF9F
#81E76F
#58DF3E
#3ED223
#34AF1D
#298C17
#227313
#153F0D
Base = 900Lightest = 50 · #F4FCF3Darkest = 950 · #153F0D
:root {
  --brand-50: #F4FCF3;
  --brand-100: #EAF8E7;
  --brand-200: #D0F3C9;
  --brand-300: #ABEF9F;
  --brand-400: #81E76F;
  --brand-500: #58DF3E;
  --brand-600: #3ED223;
  --brand-700: #34AF1D;
  --brand-800: #298C17;
  --brand-900: #227313;
  --brand-950: #153F0D;
  --brand: #227313;
  --brand-ink: #ffffff;
}

Colors that work with #227313

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F5FAF4
Tinted page background
Border#C7EDC0
Hairlines and dividers
Muted text#579B4B
Captions on the surface
Accent#4D1076
Second voice, not a rival
Dark variant#206D12
Hover, pressed, headers
Light variant#ECFBE9
Selected rows, tints
Dark surface#162414
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #227313

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#641373
Analogous left#527313
Analogous right#137334
Split-complement 1#341373
Split-complement 2#731352
Triadic 1#132273
Triadic 2#731322
Tetradic#135273

RGB percentages

Red13.3%
Green45.1%
Blue7.5%

CMYK percentages

Cyan70.4%
Magenta0.0%
Yellow83.5%
Key (black)54.9%

Color previews

#227313 text on a black background

contrast 3.53:1

Card sample

#227313 text on a white background

contrast 5.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #227313;
Background color
Panel with #227313 background
background-color: #227313;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #227313;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(34, 115, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(34, 115, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #227313;
background: linear-gradient(135deg, #227313, #137344);

Monochromatic scale

Palettes built from #227313

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#227313 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
SustainabilityFinanceHealth and wellnessAgriculture
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#227313, answered

What color is #227313?

#227313 is a dark vivid green, closest to Green (ΔE2000 4.9). It sits at 111° on the hue wheel with 72% saturation and 26% lightness, which reads as cool.

What is the RGB value of #227313?

rgb(34, 115, 19) — 34 red, 115 green and 19 blue out of 255, or 13.3% / 45.1% / 7.5% by channel.

Is #227313 a light or a dark color?

It is a dark color. Relative luminance is 0.1265 and perceived brightness is 35%, so white text on it reaches 5.95:1.

Should I use black or white text on #227313?

White. It scores 5.95:1 against #227313, versus 3.53:1 for black — AA at any size.

What is the complementary color of #227313?

#641373 sits directly opposite on the wheel. Softer options are the split-complements #341373 and #731352, which give the same contrast with far less vibration.

What colors go well with #227313?

For interface work: #F5FAF4 as the surface, #C7EDC0 for borders, #579B4B for secondary text, #4D1076 as an accent and #206D12 for hover and pressed states. For a palette, the analogous pair #527313 and #137334 stays calm, while #641373 is the loudest partner.

What is #227313 in CMYK for printing?

cmyk(70%, 0%, 84%, 55%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #227313 warm or cool?

Cool — it scores 59 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #457313; nudged cooler, #127426.

Work with #227313 in the Color Lab