#227E39#227E39
#227E39 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.134 H 147.8°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #227E39 |
|---|---|
| RGB | rgb(34, 126, 57) |
| HSL | hsl(135, 58%, 31%) |
| HSV | hsv(135, 73%, 49%) |
| CMYK | cmyk(73%, 0%, 54.8%, 50.6%) |
| CIE-LAB | lab(46.39, -42.21, 29.78) |
| CIE-LCH | lch(46.39, 51.66, 144.80°) |
| OKLab | oklab(52.37% -0.1137 0.0716) |
| OKLCH | oklch(52.37% 0.134 147.8) |
| XYZ | xyz(8.8584, 15.5562, 6.4059) |
| Luminance | 0.1556 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 0.90
Jungle Green
#048243
ΔE00 2.70
Tree Green
#2A7E19
ΔE00 5.36
Sea Green
#2E8B57
ΔE00 6.62
Forestgreen (CSS)
#228B22
ΔE00 6.73
Green
#008000
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#227E39 #7E2267
analogous
#397E22 #227E39 #227E67
triadic
#227E39 #39227E #7E3922
tetradic
#227E39 #22397E #7E2267 #7E6722
square
#227E39 #22397E #7E2267 #7E6722
split-complementary
#227E39 #67227E #7E2239
monochromatic
#081E0D #154E23 #227E39 #2FAE4F #4CCF6C
Accessibility & contrast
On white
5.11
#227E39 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#227E39 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #227E39
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##227E39 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##227E39 | 1.00 | 5.11 | 4.11 | 5.11 |
| #FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7333
Deuteranopia (green-blind)
#746B3E
Tritanopia (blue-blind)
#007B6E
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #227e39; /* rgb */ color: rgb(34, 126, 57); /* oklch */ color: oklch(52.4% 0.134 147.8);
Tailwind
colors: {
custom: {
50: '#6ba471',
500: '#227e39',
950: '#000000',
},
}SCSS
$custom: #227e39; $custom-light: #6ba471; $custom-dark: #000000;
JSON
{
"hex": "#227e39",
"rgb": {
"r": 34,
"g": 126,
"b": 57
},
"hsl": {
"h": 135,
"s": 57.5,
"l": 31.373
},
"oklch": {
"l": 0.52367,
"c": 0.13438,
"h": 147.8
},
"luminance": 0.15557
}Semantic roles & 50–950 ramp
primary
#227E39
secondary
#B14B97
accent
#47BAE1
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F08
muted
#7A7F7B