#227939#227939
#227939 is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.9% C 0.127 H 148.3°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #227939 |
|---|---|
| RGB | rgb(34, 121, 57) |
| HSL | hsl(136, 56%, 30%) |
| HSV | hsv(136, 72%, 47%) |
| CMYK | cmyk(71.9%, 0%, 52.9%, 52.5%) |
| CIE-LAB | lab(44.67, -40.28, 27.67) |
| CIE-LCH | lch(44.67, 48.87, 145.51°) |
| OKLab | oklab(50.95% -0.1085 0.0669) |
| OKLCH | oklch(50.95% 0.127 148.3) |
| XYZ | xyz(8.2350, 14.3093, 6.1981) |
| Luminance | 0.1431 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.53
Jungle Green
#048243
ΔE00 3.60
Tree Green
#2A7E19
ΔE00 6.26
Sea Green
#2E8B57
ΔE00 7.63
Green
#008000
ΔE00 7.71
Dark Sea Green
#11875D
ΔE00 8.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#227939 #792262
analogous
#367922 #227939 #227964
triadic
#227939 #392279 #793922
tetradic
#227939 #223679 #792262 #796422
square
#227939 #223679 #792262 #796422
split-complementary
#227939 #642279 #792236
monochromatic
#07190C #154922 #227939 #2FA950 #49CC6C
Accessibility & contrast
On white
5.44
#227939 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#227939 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #227939
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##227939 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##227939 | 1.00 | 5.44 | 3.86 | 5.44 |
| #FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A6E34
Deuteranopia (green-blind)
#70673E
Tritanopia (blue-blind)
#00766A
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #227939; /* rgb */ color: rgb(34, 121, 57); /* oklch */ color: oklch(50.9% 0.127 148.3);
Tailwind
colors: {
custom: {
50: '#6aa171',
500: '#227939',
950: '#000000',
},
}SCSS
$custom: #227939; $custom-light: #6aa171; $custom-dark: #000000;
JSON
{
"hex": "#227939",
"rgb": {
"r": 34,
"g": 121,
"b": 57
},
"hsl": {
"h": 135.862,
"s": 56.129,
"l": 30.392
},
"oklch": {
"l": 0.5095,
"c": 0.12748,
"h": 148.3
},
"luminance": 0.1431
}Semantic roles & 50–950 ramp
primary
#227939
secondary
#AC4B92
accent
#48B7DF
background
#F6FAF6
surface
#ECF3EC
border
#C7CDC7
text
#070F07
muted
#7A7F7A