#227839#227839
#227839 is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.7% C 0.126 H 148.4°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #227839 |
|---|---|
| RGB | rgb(34, 120, 57) |
| HSL | hsl(136, 56%, 30%) |
| HSV | hsv(136, 72%, 47%) |
| CMYK | cmyk(71.7%, 0%, 52.5%, 52.9%) |
| CIE-LAB | lab(44.33, -39.88, 27.25) |
| CIE-LCH | lch(44.33, 48.30, 145.66°) |
| OKLab | oklab(50.67% -0.1074 0.066) |
| OKLCH | oklch(50.67% 0.126 148.4) |
| XYZ | xyz(8.1141, 14.0675, 6.1578) |
| Luminance | 0.1407 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.86
Jungle Green
#048243
ΔE00 3.86
Tree Green
#2A7E19
ΔE00 6.50
Sea Green
#2E8B57
ΔE00 7.86
Green
#008000
ΔE00 7.95
Dark Sea Green
#11875D
ΔE00 8.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#227839 #782261
analogous
#367822 #227839 #227864
triadic
#227839 #392278 #783922
tetradic
#227839 #223678 #782261 #786422
square
#227839 #223678 #782261 #786422
split-complementary
#227839 #642278 #782236
monochromatic
#07190C #144822 #227839 #30A850 #49CB6C
Accessibility & contrast
On white
5.51
#227839 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#227839 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #227839
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##227839 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##227839 | 1.00 | 5.51 | 3.81 | 5.51 |
| #FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#796D34
Deuteranopia (green-blind)
#6F663E
Tritanopia (blue-blind)
#007669
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #227839; /* rgb */ color: rgb(34, 120, 57); /* oklch */ color: oklch(50.7% 0.126 148.4);
Tailwind
colors: {
custom: {
50: '#6aa071',
500: '#227839',
950: '#000000',
},
}SCSS
$custom: #227839; $custom-light: #6aa071; $custom-dark: #000000;
JSON
{
"hex": "#227839",
"rgb": {
"r": 34,
"g": 120,
"b": 57
},
"hsl": {
"h": 136.047,
"s": 55.844,
"l": 30.196
},
"oklch": {
"l": 0.50666,
"c": 0.12609,
"h": 148.4
},
"luminance": 0.14068
}Semantic roles & 50–950 ramp
primary
#227839
secondary
#AB4B91
accent
#49B7DF
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#070F07
muted
#7A7E7A