#227F36#227F36
#227F36 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.139 H 146.9°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #227F36 |
|---|---|
| RGB | rgb(34, 127, 54) |
| HSL | hsl(133, 58%, 32%) |
| HSV | hsv(133, 73%, 50%) |
| CMYK | cmyk(73.2%, 0%, 57.5%, 50.2%) |
| CIE-LAB | lab(46.69, -43.04, 31.70) |
| CIE-LCH | lch(46.69, 53.46, 143.63°) |
| OKLab | oklab(52.61% -0.116 0.0757) |
| OKLCH | oklch(52.61% 0.139 146.9) |
| XYZ | xyz(8.9143, 15.7842, 6.0662) |
| Luminance | 0.1578 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.21
Jungle Green
#048243
ΔE00 3.13
Tree Green
#2A7E19
ΔE00 4.68
Forestgreen (CSS)
#228B22
ΔE00 5.98
Green
#008000
ΔE00 6.02
Sea Green
#2E8B57
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#227F36 #7F226B
analogous
#3D7F22 #227F36 #227F65
triadic
#227F36 #36227F #7F3622
tetradic
#227F36 #223D7F #7F226B #7F6522
square
#227F36 #223D7F #7F226B #7F6522
split-complementary
#227F36 #65227F #7F223D
monochromatic
#081E0D #154F21 #227F36 #2FAF4B #4CCF68
Accessibility & contrast
On white
5.05
#227F36 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#227F36 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #227F36
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##227F36 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##227F36 | 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)
#81732F
Deuteranopia (green-blind)
#766C3C
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #227f36; /* rgb */ color: rgb(34, 127, 54); /* oklch */ color: oklch(52.6% 0.139 146.9);
Tailwind
colors: {
custom: {
50: '#6ba56f',
500: '#227f36',
950: '#000000',
},
}SCSS
$custom: #227f36; $custom-light: #6ba56f; $custom-dark: #000000;
JSON
{
"hex": "#227f36",
"rgb": {
"r": 34,
"g": 127,
"b": 54
},
"hsl": {
"h": 132.903,
"s": 57.764,
"l": 31.569
},
"oklch": {
"l": 0.52605,
"c": 0.1385,
"h": 146.9
},
"luminance": 0.15785
}Semantic roles & 50–950 ramp
primary
#227F36
secondary
#B24B9C
accent
#47C0E1
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#080F07
muted
#7A7F7A