#227545#227545
#227545 is a mid, moderate green. Relative luminance 0.135; OKLCH L 50.0% C 0.110 H 153.8°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #227545 |
|---|---|
| RGB | rgb(34, 117, 69) |
| HSL | hsl(145, 55%, 30%) |
| HSV | hsv(145, 71%, 46%) |
| CMYK | cmyk(70.9%, 0%, 41%, 54.1%) |
| CIE-LAB | lab(43.49, -36.46, 19.49) |
| CIE-LCH | lch(43.49, 41.34, 151.87°) |
| OKLab | oklab(50.04% -0.0985 0.0486) |
| OKLCH | oklch(50.04% 0.11 153.8) |
| XYZ | xyz(8.0944, 13.4914, 7.8066) |
| Luminance | 0.1349 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 5.09
Jungle Green
#048243
ΔE00 5.20
Dark Sea Green
#11875D
ΔE00 7.12
Spruce
#0A5F38
ΔE00 7.57
Sea Green
#2E8B57
ΔE00 7.99
Pine
#2B5D34
ΔE00 8.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#227545 #752252
analogous
#297522 #227545 #22756F
triadic
#227545 #452275 #754522
tetradic
#227545 #222975 #752252 #756F22
square
#227545 #222975 #752252 #756F22
split-complementary
#227545 #6F2275 #752229
monochromatic
#07180E #144629 #227545 #30A461 #48CA7F
Accessibility & contrast
On white
5.68
#227545 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#227545 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #227545
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##227545 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##227545 | 1.00 | 5.68 | 3.70 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#756B42
Deuteranopia (green-blind)
#6A6448
Tritanopia (blue-blind)
#007469
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #227545; /* rgb */ color: rgb(34, 117, 69); /* oklch */ color: oklch(50.0% 0.110 153.8);
Tailwind
colors: {
custom: {
50: '#699d79',
500: '#227545',
950: '#000000',
},
}SCSS
$custom: #227545; $custom-light: #699d79; $custom-dark: #000000;
JSON
{
"hex": "#227545",
"rgb": {
"r": 34,
"g": 117,
"b": 69
},
"hsl": {
"h": 145.301,
"s": 54.967,
"l": 29.608
},
"oklch": {
"l": 0.50041,
"c": 0.10979,
"h": 153.8
},
"luminance": 0.13492
}Semantic roles & 50–950 ramp
primary
#227545
secondary
#A84B81
accent
#49A0DE
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E09
muted
#7A7E7B