#227242#227242
#227242 is a mid, moderate green. Relative luminance 0.128; OKLCH L 49.1% C 0.108 H 153.0°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #227242 |
|---|---|
| RGB | rgb(34, 114, 66) |
| HSL | hsl(144, 54%, 29%) |
| HSV | hsv(144, 70%, 45%) |
| CMYK | cmyk(70.2%, 0%, 42.1%, 55.3%) |
| CIE-LAB | lab(42.41, -35.80, 19.78) |
| CIE-LCH | lch(42.41, 40.90, 151.08°) |
| OKLab | oklab(49.13% -0.0967 0.0492) |
| OKLCH | oklch(49.13% 0.108 153) |
| XYZ | xyz(7.6597, 12.7672, 7.2138) |
| Luminance | 0.1277 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 5.48
Jungle Green
#048243
ΔE00 6.03
Spruce
#0A5F38
ΔE00 6.64
Pine
#2B5D34
ΔE00 7.29
Hunter Green
#355E3B
ΔE00 7.83
Dark Sea Green
#11875D
ΔE00 8.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#227242 #722252
analogous
#2A7222 #227242 #22726A
triadic
#227242 #422272 #724222
tetradic
#227242 #222A72 #722252 #726A22
square
#227242 #222A72 #722252 #726A22
split-complementary
#227242 #6A2272 #72222A
monochromatic
#07180E #144327 #227242 #30A15D #46C87A
Accessibility & contrast
On white
5.91
#227242 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#227242 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #227242
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##227242 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##227242 | 1.00 | 5.91 | 3.55 | 5.91 |
| #FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#72683F
Deuteranopia (green-blind)
#686145
Tritanopia (blue-blind)
#007066
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #227242; /* rgb */ color: rgb(34, 114, 66); /* oklch */ color: oklch(49.1% 0.108 153.0);
Tailwind
colors: {
custom: {
50: '#689b77',
500: '#227242',
950: '#000000',
},
}SCSS
$custom: #227242; $custom-light: #689b77; $custom-dark: #000000;
JSON
{
"hex": "#227242",
"rgb": {
"r": 34,
"g": 114,
"b": 66
},
"hsl": {
"h": 144,
"s": 54.054,
"l": 29.02
},
"oklch": {
"l": 0.49131,
"c": 0.10845,
"h": 153
},
"luminance": 0.12768
}Semantic roles & 50–950 ramp
primary
#227242
secondary
#A54B81
accent
#4AA3DD
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B