#227041#227041
#227041 is a mid, moderate green. Relative luminance 0.123; OKLCH L 48.5% C 0.107 H 153.0°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #227041 |
|---|---|
| RGB | rgb(34, 112, 65) |
| HSL | hsl(144, 53%, 29%) |
| HSV | hsv(144, 70%, 44%) |
| CMYK | cmyk(69.6%, 0%, 42%, 56.1%) |
| CIE-LAB | lab(41.70, -35.15, 19.42) |
| CIE-LCH | lch(41.70, 40.16, 151.07°) |
| OKLab | oklab(48.54% -0.0949 0.0483) |
| OKLCH | oklch(48.54% 0.107 153) |
| XYZ | xyz(7.4074, 12.3093, 6.9856) |
| Luminance | 0.1231 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 5.98
Darkish Green
#287C37
ΔE00 6.01
Pine
#2B5D34
ΔE00 6.63
Jungle Green
#048243
ΔE00 6.70
Hunter Green
#355E3B
ΔE00 7.22
Forest Green
#2D5A27
ΔE00 8.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#227041 #702251
analogous
#2A7022 #227041 #227068
triadic
#227041 #412270 #704122
tetradic
#227041 #222A70 #702251 #706822
square
#227041 #222A70 #702251 #706822
split-complementary
#227041 #682270 #70222A
monochromatic
#07170E #144126 #227041 #309F5C #46C779
Accessibility & contrast
On white
6.07
#227041 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#227041 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #227041
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##227041 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##227041 | 1.00 | 6.07 | 3.46 | 6.07 |
| #FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#70673E
Deuteranopia (green-blind)
#666044
Tritanopia (blue-blind)
#006E64
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #227041; /* rgb */ color: rgb(34, 112, 65); /* oklch */ color: oklch(48.5% 0.107 153.0);
Tailwind
colors: {
custom: {
50: '#689a76',
500: '#227041',
950: '#000000',
},
}SCSS
$custom: #227041; $custom-light: #689a76; $custom-dark: #000000;
JSON
{
"hex": "#227041",
"rgb": {
"r": 34,
"g": 112,
"b": 65
},
"hsl": {
"h": 143.846,
"s": 53.425,
"l": 28.627
},
"oklch": {
"l": 0.48543,
"c": 0.10652,
"h": 153
},
"luminance": 0.1231
}Semantic roles & 50–950 ramp
primary
#227041
secondary
#A34A80
accent
#4BA3DD
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B