#227937#227937
#227937 is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.9% C 0.129 H 147.7°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #227937 |
|---|---|
| RGB | rgb(34, 121, 55) |
| HSL | hsl(134, 56%, 30%) |
| HSV | hsv(134, 72%, 47%) |
| CMYK | cmyk(71.9%, 0%, 54.5%, 52.5%) |
| CIE-LAB | lab(44.65, -40.60, 28.71) |
| CIE-LCH | lch(44.65, 49.72, 144.73°) |
| OKLab | oklab(50.92% -0.1094 0.0691) |
| OKLCH | oklch(50.92% 0.129 147.7) |
| XYZ | xyz(8.1860, 14.2898, 5.9405) |
| Luminance | 0.1429 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.30
Jungle Green
#048243
ΔE00 3.77
Tree Green
#2A7E19
ΔE00 5.87
Green
#008000
ΔE00 7.32
Sea Green
#2E8B57
ΔE00 7.85
Forestgreen (CSS)
#228B22
ΔE00 8.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#227937 #792264
analogous
#387922 #227937 #227962
triadic
#227937 #372279 #793722
tetradic
#227937 #223879 #792264 #796222
square
#227937 #223879 #792264 #796222
split-complementary
#227937 #622279 #792238
monochromatic
#07190C #154921 #227937 #2FA94D #49CC69
Accessibility & contrast
On white
5.44
#227937 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#227937 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #227937
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##227937 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##227937 | 1.00 | 5.44 | 3.86 | 5.44 |
| #FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A6E31
Deuteranopia (green-blind)
#70673C
Tritanopia (blue-blind)
#00766A
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #227937; /* rgb */ color: rgb(34, 121, 55); /* oklch */ color: oklch(50.9% 0.129 147.7);
Tailwind
colors: {
custom: {
50: '#6aa16f',
500: '#227937',
950: '#000000',
},
}SCSS
$custom: #227937; $custom-light: #6aa16f; $custom-dark: #000000;
JSON
{
"hex": "#227937",
"rgb": {
"r": 34,
"g": 121,
"b": 55
},
"hsl": {
"h": 134.483,
"s": 56.129,
"l": 30.392
},
"oklch": {
"l": 0.50919,
"c": 0.1294,
"h": 147.7
},
"luminance": 0.14291
}Semantic roles & 50–950 ramp
primary
#227937
secondary
#AC4B94
accent
#48BBDF
background
#F6FAF6
surface
#ECF3EC
border
#C7CDC7
text
#070F07
muted
#7A7F7A