#227F4F#227F4F
#227F4F is a mid, moderate green. Relative luminance 0.161; OKLCH L 53.1% C 0.114 H 156.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #227F4F |
|---|---|
| RGB | rgb(34, 127, 79) |
| HSL | hsl(149, 58%, 32%) |
| HSV | hsv(149, 73%, 50%) |
| CMYK | cmyk(73.2%, 0%, 37.8%, 50.2%) |
| CIE-LAB | lab(47.08, -38.57, 18.55) |
| CIE-LCH | lch(47.08, 42.80, 154.31°) |
| OKLab | oklab(53.06% -0.1043 0.0465) |
| OKLCH | oklch(53.06% 0.114 156) |
| XYZ | xyz(9.6594, 16.0822, 9.9907) |
| Luminance | 0.1608 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 3.41
Dark Sea Green
#11875D
ΔE00 3.78
Sea Green
#2E8B57
ΔE00 4.50
Darkish Green
#287C37
ΔE00 5.31
Viridian
#1E9167
ΔE00 7.09
Dark Sage
#598556
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#227F4F #7F2252
analogous
#247F22 #227F4F #227F7E
triadic
#227F4F #4F227F #7F4F22
tetradic
#227F4F #22247F #7F2252 #7F7E22
square
#227F4F #22247F #7F2252 #7F7E22
split-complementary
#227F4F #7E227F #7F2224
monochromatic
#081E13 #154F31 #227F4F #2FAF6D #4CCF8C
Accessibility & contrast
On white
4.98
#227F4F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#227F4F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #227F4F
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##227F4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##227F4F | 1.00 | 4.98 | 4.22 | 4.98 |
| #FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E754C
Deuteranopia (green-blind)
#736C52
Tritanopia (blue-blind)
#007E73
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #227f4f; /* rgb */ color: rgb(34, 127, 79); /* oklch */ color: oklch(53.1% 0.114 156.0);
Tailwind
colors: {
custom: {
50: '#6ba580',
500: '#227f4f',
950: '#000000',
},
}SCSS
$custom: #227f4f; $custom-light: #6ba580; $custom-dark: #000000;
JSON
{
"hex": "#227f4f",
"rgb": {
"r": 34,
"g": 127,
"b": 79
},
"hsl": {
"h": 149.032,
"s": 57.764,
"l": 31.569
},
"oklch": {
"l": 0.53057,
"c": 0.11424,
"h": 156
},
"luminance": 0.16083
}Semantic roles & 50–950 ramp
primary
#227F4F
secondary
#B24B80
accent
#4796E1
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C