#227F39#227F39
#227F39 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.136 H 147.7°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #227F39 |
|---|---|
| RGB | rgb(34, 127, 57) |
| HSL | hsl(135, 58%, 32%) |
| HSV | hsv(135, 73%, 50%) |
| CMYK | cmyk(73.2%, 0%, 55.1%, 50.2%) |
| CIE-LAB | lab(46.73, -42.60, 30.19) |
| CIE-LCH | lch(46.73, 52.21, 144.67°) |
| OKLab | oklab(52.65% -0.1147 0.0726) |
| OKLCH | oklch(52.65% 0.136 147.7) |
| XYZ | xyz(8.9869, 15.8132, 6.4487) |
| Luminance | 0.1581 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.16
Jungle Green
#048243
ΔE00 2.64
Tree Green
#2A7E19
ΔE00 5.25
Forestgreen (CSS)
#228B22
ΔE00 6.40
Sea Green
#2E8B57
ΔE00 6.46
Green
#008000
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#227F39 #7F2268
analogous
#3A7F22 #227F39 #227F68
triadic
#227F39 #39227F #7F3922
tetradic
#227F39 #223A7F #7F2268 #7F6822
square
#227F39 #223A7F #7F2268 #7F6822
split-complementary
#227F39 #68227F #7F223A
monochromatic
#081E0E #154F23 #227F39 #2FAF4F #4CCF6D
Accessibility & contrast
On white
5.04
#227F39 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#227F39 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #227F39
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##227F39 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##227F39 | 1.00 | 5.04 | 4.16 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807333
Deuteranopia (green-blind)
#756C3E
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #227f39; /* rgb */ color: rgb(34, 127, 57); /* oklch */ color: oklch(52.6% 0.136 147.7);
Tailwind
colors: {
custom: {
50: '#6ba571',
500: '#227f39',
950: '#000000',
},
}SCSS
$custom: #227f39; $custom-light: #6ba571; $custom-dark: #000000;
JSON
{
"hex": "#227f39",
"rgb": {
"r": 34,
"g": 127,
"b": 57
},
"hsl": {
"h": 134.839,
"s": 57.764,
"l": 31.569
},
"oklch": {
"l": 0.52649,
"c": 0.13574,
"h": 147.7
},
"luminance": 0.15814
}Semantic roles & 50–950 ramp
primary
#227F39
secondary
#B24B98
accent
#47BBE1
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#080F08
muted
#7A7F7B