#227E4A#227E4A
#227E4A is a mid, moderate green. Relative luminance 0.158; OKLCH L 52.7% C 0.118 H 153.9°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #227E4A |
|---|---|
| RGB | rgb(34, 126, 74) |
| HSL | hsl(146, 58%, 31%) |
| HSV | hsv(146, 73%, 49%) |
| CMYK | cmyk(73%, 0%, 41.3%, 50.6%) |
| CIE-LAB | lab(46.65, -39.19, 20.82) |
| CIE-LCH | lch(46.65, 44.38, 152.02°) |
| OKLab | oklab(52.67% -0.1057 0.0518) |
| OKLCH | oklch(52.67% 0.118 153.9) |
| XYZ | xyz(9.3557, 15.7552, 9.0252) |
| Luminance | 0.1576 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 2.67
Darkish Green
#287C37
ΔE00 4.19
Dark Sea Green
#11875D
ΔE00 4.78
Sea Green
#2E8B57
ΔE00 4.89
Dark Sage
#598556
ΔE00 7.70
Viridian
#1E9167
ΔE00 7.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#227E4A #7E2256
analogous
#287E22 #227E4A #227E78
triadic
#227E4A #4A227E #7E4A22
tetradic
#227E4A #22287E #7E2256 #7E7822
square
#227E4A #22287E #7E2256 #7E7822
split-complementary
#227E4A #78227E #7E2228
monochromatic
#081E11 #154E2E #227E4A #2FAE66 #4CCF85
Accessibility & contrast
On white
5.06
#227E4A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#227E4A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #227E4A
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##227E4A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##227E4A | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E7346
Deuteranopia (green-blind)
#726B4D
Tritanopia (blue-blind)
#007C71
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #227e4a; /* rgb */ color: rgb(34, 126, 74); /* oklch */ color: oklch(52.7% 0.118 153.9);
Tailwind
colors: {
custom: {
50: '#6ba47d',
500: '#227e4a',
950: '#000000',
},
}SCSS
$custom: #227e4a; $custom-light: #6ba47d; $custom-dark: #000000;
JSON
{
"hex": "#227e4a",
"rgb": {
"r": 34,
"g": 126,
"b": 74
},
"hsl": {
"h": 146.087,
"s": 57.5,
"l": 31.373
},
"oklch": {
"l": 0.52672,
"c": 0.11776,
"h": 153.9
},
"luminance": 0.15756
}Semantic roles & 50–950 ramp
primary
#227E4A
secondary
#B14B85
accent
#479EE1
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F09
muted
#7A7F7B