#227E4D#227E4D
#227E4D is a mid, moderate green. Relative luminance 0.158; OKLCH L 52.7% C 0.115 H 155.3°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #227E4D |
|---|---|
| RGB | rgb(34, 126, 77) |
| HSL | hsl(148, 58%, 31%) |
| HSV | hsv(148, 73%, 49%) |
| CMYK | cmyk(73%, 0%, 38.9%, 50.6%) |
| CIE-LAB | lab(46.71, -38.58, 19.19) |
| CIE-LCH | lch(46.71, 43.09, 153.55°) |
| OKLab | oklab(52.74% -0.1043 0.048) |
| OKLCH | oklch(52.74% 0.115 155.3) |
| XYZ | xyz(9.4592, 15.7965, 9.5703) |
| Luminance | 0.1580 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 3.25
Dark Sea Green
#11875D
ΔE00 4.26
Sea Green
#2E8B57
ΔE00 4.84
Darkish Green
#287C37
ΔE00 4.93
Viridian
#1E9167
ΔE00 7.56
Dark Sage
#598556
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#227E4D #7E2253
analogous
#257E22 #227E4D #227E7B
triadic
#227E4D #4D227E #7E4D22
tetradic
#227E4D #22257E #7E2253 #7E7B22
square
#227E4D #22257E #7E2253 #7E7B22
split-complementary
#227E4D #7B227E #7E2225
monochromatic
#081E12 #154E30 #227E4D #2FAE6A #4CCF89
Accessibility & contrast
On white
5.05
#227E4D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#227E4D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #227E4D
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##227E4D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##227E4D | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D744A
Deuteranopia (green-blind)
#726B50
Tritanopia (blue-blind)
#007D72
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #227e4d; /* rgb */ color: rgb(34, 126, 77); /* oklch */ color: oklch(52.7% 0.115 155.3);
Tailwind
colors: {
custom: {
50: '#6ba47f',
500: '#227e4d',
950: '#000000',
},
}SCSS
$custom: #227e4d; $custom-light: #6ba47f; $custom-dark: #000000;
JSON
{
"hex": "#227e4d",
"rgb": {
"r": 34,
"g": 126,
"b": 77
},
"hsl": {
"h": 148.043,
"s": 57.5,
"l": 31.373
},
"oklch": {
"l": 0.52735,
"c": 0.1148,
"h": 155.3
},
"luminance": 0.15798
}Semantic roles & 50–950 ramp
primary
#227E4D
secondary
#B14B81
accent
#4799E1
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C