#225F40#225F40
#225F40 is a dark, moderate green. Relative luminance 0.089; OKLCH L 43.7% C 0.082 H 158.0°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #225F40 |
|---|---|
| RGB | rgb(34, 95, 64) |
| HSL | hsl(150, 47%, 25%) |
| HSV | hsv(150, 64%, 37%) |
| CMYK | cmyk(64.2%, 0%, 32.6%, 62.7%) |
| CIE-LAB | lab(35.78, -27.74, 12.05) |
| CIE-LCH | lch(35.78, 30.25, 156.51°) |
| OKLab | oklab(43.67% -0.0757 0.0306) |
| OKLCH | oklch(43.67% 0.082 158) |
| XYZ | xyz(5.6768, 8.8941, 6.2671) |
| Luminance | 0.0890 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.90
Hunter Green
#355E3B
ΔE00 3.74
Pine
#2B5D34
ΔE00 3.83
Forest Green
#2D5A27
ΔE00 7.00
Dark Green Blue
#1F6357
ΔE00 7.56
Evergreen
#05472A
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#225F40 #5F2241
analogous
#225F22 #225F40 #225F5E
triadic
#225F40 #40225F #5F4022
tetradic
#225F40 #22225F #5F2241 #5F5E22
square
#225F40 #22225F #5F2241 #5F5E22
split-complementary
#225F40 #5E225F #5F2222
monochromatic
#08170F #123222 #225F40 #328C5E #42B97D
Accessibility & contrast
On white
7.56
#225F40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#225F40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #225F40
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##225F40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##225F40 | 1.00 | 7.56 | 2.78 | 7.56 |
| #FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E583E
Deuteranopia (green-blind)
#565242
Tritanopia (blue-blind)
#075E57
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #225f40; /* rgb */ color: rgb(34, 95, 64); /* oklch */ color: oklch(43.7% 0.082 158.0);
Tailwind
colors: {
custom: {
50: '#648d75',
500: '#225f40',
950: '#000000',
},
}SCSS
$custom: #225f40; $custom-light: #648d75; $custom-dark: #000000;
JSON
{
"hex": "#225f40",
"rgb": {
"r": 34,
"g": 95,
"b": 64
},
"hsl": {
"h": 149.508,
"s": 47.287,
"l": 25.294
},
"oklch": {
"l": 0.43671,
"c": 0.08161,
"h": 158
},
"luminance": 0.08895
}Semantic roles & 50–950 ramp
primary
#225F40
secondary
#934A6F
accent
#5195D7
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060C08
muted
#7A7D7B