#225538#225538
#225538 is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.6% C 0.074 H 156.0°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).
Color values
| HEX | #225538 |
|---|---|
| RGB | rgb(34, 85, 56) |
| HSL | hsl(146, 43%, 23%) |
| HSV | hsv(146, 60%, 33%) |
| CMYK | cmyk(60%, 0%, 34.1%, 66.7%) |
| CIE-LAB | lab(32.08, -24.76, 11.90) |
| CIE-LCH | lch(32.08, 27.47, 154.33°) |
| OKLab | oklab(40.59% -0.0675 0.0301) |
| OKLCH | oklch(40.59% 0.074 156) |
| XYZ | xyz(4.6216, 7.1222, 4.8718) |
| Luminance | 0.0712 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Hunter Green
#355E3B
ΔE00 4.27
Pine
#2B5D34
ΔE00 4.37
Spruce
#0A5F38
ΔE00 4.68
Evergreen
#05472A
ΔE00 4.90
Pine Green
#0A481E
ΔE00 6.24
Forest Green
#2D5A27
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#225538 #55223F
analogous
#255522 #225538 #225551
triadic
#225538 #382255 #553822
tetradic
#225538 #222555 #55223F #555122
square
#225538 #222555 #55223F #555122
split-complementary
#225538 #512255 #552225
monochromatic
#09160E #11291B #225538 #338155 #45AC72
Accessibility & contrast
On white
8.66
#225538 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#225538 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #225538
8.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##225538 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##225538 | 1.00 | 8.66 | 2.42 | 8.66 |
| #FFFFFF | 8.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554E36
Deuteranopia (green-blind)
#4D493A
Tritanopia (blue-blind)
#12544D
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #225538; /* rgb */ color: rgb(34, 85, 56); /* oklch */ color: oklch(40.6% 0.074 156.0);
Tailwind
colors: {
custom: {
50: '#62856e',
500: '#225538',
950: '#000000',
},
}SCSS
$custom: #225538; $custom-light: #62856e; $custom-dark: #000000;
JSON
{
"hex": "#225538",
"rgb": {
"r": 34,
"g": 85,
"b": 56
},
"hsl": {
"h": 145.882,
"s": 42.857,
"l": 23.333
},
"oklch": {
"l": 0.40589,
"c": 0.0739,
"h": 156
},
"luminance": 0.07123
}Semantic roles & 50–950 ramp
primary
#225538
secondary
#894A6E
accent
#559DD3
background
#F6F8F6
surface
#EBEFEC
border
#C6CAC7
text
#050B07
muted
#7A7C7A