#227138#227138
#227138 is a mid, moderate green. Relative luminance 0.124; OKLCH L 48.7% C 0.117 H 149.0°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #227138 |
|---|---|
| RGB | rgb(34, 113, 56) |
| HSL | hsl(137, 54%, 29%) |
| HSV | hsv(137, 70%, 44%) |
| CMYK | cmyk(69.9%, 0%, 50.4%, 55.7%) |
| CIE-LAB | lab(41.90, -37.24, 24.76) |
| CIE-LCH | lch(41.90, 44.72, 146.38°) |
| OKLab | oklab(48.66% -0.1004 0.0603) |
| OKLCH | oklch(48.66% 0.117 149) |
| XYZ | xyz(7.2781, 12.4351, 5.7573) |
| Luminance | 0.1244 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.29
Jungle Green
#048243
ΔE00 6.02
Spruce
#0A5F38
ΔE00 7.22
Pine
#2B5D34
ΔE00 7.30
Forest Green
#2D5A27
ΔE00 8.07
Darkgreen
#006400
ΔE00 8.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#227138 #71225B
analogous
#347122 #227138 #227160
triadic
#227138 #382271 #713822
tetradic
#227138 #223471 #71225B #716022
square
#227138 #223471 #71225B #716022
split-complementary
#227138 #602271 #712234
monochromatic
#07180C #144221 #227138 #30A04F #46C76A
Accessibility & contrast
On white
6.02
#227138 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#227138 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #227138
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##227138 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##227138 | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726733
Deuteranopia (green-blind)
#68603C
Tritanopia (blue-blind)
#016F64
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #227138; /* rgb */ color: rgb(34, 113, 56); /* oklch */ color: oklch(48.7% 0.117 149.0);
Tailwind
colors: {
custom: {
50: '#689b70',
500: '#227138',
950: '#000000',
},
}SCSS
$custom: #227138; $custom-light: #689b70; $custom-dark: #000000;
JSON
{
"hex": "#227138",
"rgb": {
"r": 34,
"g": 113,
"b": 56
},
"hsl": {
"h": 136.709,
"s": 53.741,
"l": 28.824
},
"oklch": {
"l": 0.48655,
"c": 0.11713,
"h": 149
},
"luminance": 0.12436
}Semantic roles & 50–950 ramp
primary
#227138
secondary
#A44A8B
accent
#4BB4DD
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070E07
muted
#7A7E7A