#225F2A#225F2A
#225F2A is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.2% C 0.105 H 145.9°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #225F2A |
|---|---|
| RGB | rgb(34, 95, 42) |
| HSL | hsl(128, 47%, 25%) |
| HSV | hsv(128, 64%, 37%) |
| CMYK | cmyk(64.2%, 0%, 55.8%, 62.7%) |
| CIE-LAB | lab(35.38, -32.04, 24.43) |
| CIE-LCH | lch(35.38, 40.29, 142.67°) |
| OKLab | oklab(43.22% -0.0867 0.0588) |
| OKLCH | oklch(43.22% 0.105 145.9) |
| XYZ | xyz(5.1695, 8.6912, 3.5952) |
| Luminance | 0.0869 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.60
Pine
#2B5D34
ΔE00 3.07
Deep Green
#02590F
ΔE00 4.67
Spruce
#0A5F38
ΔE00 4.68
Hunter Green
#355E3B
ΔE00 5.13
Forest
#0B5509
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#225F2A #5F2257
analogous
#385F22 #225F2A #225F48
triadic
#225F2A #2A225F #5F2A22
tetradic
#225F2A #22385F #5F2257 #5F4822
square
#225F2A #22385F #5F2257 #5F4822
split-complementary
#225F2A #48225F #5F2238
monochromatic
#08170A #123216 #225F2A #328C3E #42B952
Accessibility & contrast
On white
7.67
#225F2A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#225F2A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #225F2A
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##225F2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##225F2A | 1.00 | 7.67 | 2.74 | 7.67 |
| #FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#605625
Deuteranopia (green-blind)
#59512E
Tritanopia (blue-blind)
#145D53
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #225f2a; /* rgb */ color: rgb(34, 95, 42); /* oklch */ color: oklch(43.2% 0.105 145.9);
Tailwind
colors: {
custom: {
50: '#648d65',
500: '#225f2a',
950: '#000000',
},
}SCSS
$custom: #225f2a; $custom-light: #648d65; $custom-dark: #000000;
JSON
{
"hex": "#225f2a",
"rgb": {
"r": 34,
"g": 95,
"b": 42
},
"hsl": {
"h": 127.869,
"s": 47.287,
"l": 25.294
},
"oklch": {
"l": 0.43216,
"c": 0.10474,
"h": 145.9
},
"luminance": 0.08692
}Semantic roles & 50–950 ramp
primary
#225F2A
secondary
#934A89
accent
#51C5D7
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C05
muted
#7A7D7A