#227E4F#227E4F
#227E4F is a mid, moderate green. Relative luminance 0.158; OKLCH L 52.8% C 0.113 H 156.2°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #227E4F |
|---|---|
| RGB | rgb(34, 126, 79) |
| HSL | hsl(149, 58%, 31%) |
| HSV | hsv(149, 73%, 49%) |
| CMYK | cmyk(73%, 0%, 37.3%, 50.6%) |
| CIE-LAB | lab(46.74, -38.16, 18.10) |
| CIE-LCH | lch(46.74, 42.23, 154.62°) |
| OKLab | oklab(52.78% -0.1033 0.0454) |
| OKLCH | oklch(52.78% 0.113 156.2) |
| XYZ | xyz(9.5309, 15.8252, 9.9479) |
| Luminance | 0.1583 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 3.69
Dark Sea Green
#11875D
ΔE00 3.95
Sea Green
#2E8B57
ΔE00 4.87
Darkish Green
#287C37
ΔE00 5.43
Viridian
#1E9167
ΔE00 7.35
Dark Sage
#598556
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#227E4F #7E2251
analogous
#237E22 #227E4F #227E7D
triadic
#227E4F #4F227E #7E4F22
tetradic
#227E4F #22237E #7E2251 #7E7D22
square
#227E4F #22237E #7E2251 #7E7D22
split-complementary
#227E4F #7D227E #7E2223
monochromatic
#081E13 #154E31 #227E4F #2FAE6D #4CCF8C
Accessibility & contrast
On white
5.04
#227E4F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#227E4F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #227E4F
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##227E4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##227E4F | 1.00 | 5.04 | 4.17 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D744C
Deuteranopia (green-blind)
#726C52
Tritanopia (blue-blind)
#007D72
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #227e4f; /* rgb */ color: rgb(34, 126, 79); /* oklch */ color: oklch(52.8% 0.113 156.2);
Tailwind
colors: {
custom: {
50: '#6ba480',
500: '#227e4f',
950: '#000000',
},
}SCSS
$custom: #227e4f; $custom-light: #6ba480; $custom-dark: #000000;
JSON
{
"hex": "#227e4f",
"rgb": {
"r": 34,
"g": 126,
"b": 79
},
"hsl": {
"h": 149.348,
"s": 57.5,
"l": 31.373
},
"oklch": {
"l": 0.52779,
"c": 0.11283,
"h": 156.2
},
"luminance": 0.15826
}Semantic roles & 50–950 ramp
primary
#227E4F
secondary
#B14B7F
accent
#4796E1
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C