#227F3B#227F3B
#227F3B is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.7% C 0.134 H 148.3°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #227F3B |
|---|---|
| RGB | rgb(34, 127, 59) |
| HSL | hsl(136, 58%, 32%) |
| HSV | hsv(136, 73%, 50%) |
| CMYK | cmyk(73.2%, 0%, 53.5%, 50.2%) |
| CIE-LAB | lab(46.76, -42.28, 29.17) |
| CIE-LCH | lch(46.76, 51.37, 145.39°) |
| OKLab | oklab(52.68% -0.1138 0.0704) |
| OKLCH | oklch(52.68% 0.134 148.3) |
| XYZ | xyz(9.0378, 15.8336, 6.7167) |
| Luminance | 0.1583 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.29
Jungle Green
#048243
ΔE00 2.34
Tree Green
#2A7E19
ΔE00 5.65
Sea Green
#2E8B57
ΔE00 6.18
Forestgreen (CSS)
#228B22
ΔE00 6.71
Green
#008000
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#227F3B #7F2266
analogous
#387F22 #227F3B #227F6A
triadic
#227F3B #3B227F #7F3B22
tetradic
#227F3B #22387F #7F2266 #7F6A22
square
#227F3B #22387F #7F2266 #7F6A22
split-complementary
#227F3B #6A227F #7F2238
monochromatic
#081E0E #154F25 #227F3B #2FAF51 #4CCF6F
Accessibility & contrast
On white
5.04
#227F3B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#227F3B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #227F3B
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##227F3B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##227F3B | 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)
#807435
Deuteranopia (green-blind)
#756C40
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #227f3b; /* rgb */ color: rgb(34, 127, 59); /* oklch */ color: oklch(52.7% 0.134 148.3);
Tailwind
colors: {
custom: {
50: '#6ba572',
500: '#227f3b',
950: '#000000',
},
}SCSS
$custom: #227f3b; $custom-light: #6ba572; $custom-dark: #000000;
JSON
{
"hex": "#227f3b",
"rgb": {
"r": 34,
"g": 127,
"b": 59
},
"hsl": {
"h": 136.129,
"s": 57.764,
"l": 31.569
},
"oklch": {
"l": 0.5268,
"c": 0.13386,
"h": 148.3
},
"luminance": 0.15835
}Semantic roles & 50–950 ramp
primary
#227F3B
secondary
#B24B96
accent
#47B8E1
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#080F08
muted
#7A7F7B