#225438#225438
#225438 is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.3% C 0.072 H 156.4°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #225438 |
|---|---|
| RGB | rgb(34, 84, 56) |
| HSL | hsl(146, 42%, 23%) |
| HSV | hsv(146, 60%, 33%) |
| CMYK | cmyk(59.5%, 0%, 33.3%, 67.1%) |
| CIE-LAB | lab(31.73, -24.27, 11.42) |
| CIE-LCH | lch(31.73, 26.82, 154.80°) |
| OKLab | oklab(40.3% -0.0662 0.0289) |
| OKLCH | oklch(40.3% 0.072 156.4) |
| XYZ | xyz(4.5435, 6.9658, 4.8457) |
| Luminance | 0.0697 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Hunter Green
#355E3B
ΔE00 4.57
Evergreen
#05472A
ΔE00 4.69
Pine
#2B5D34
ΔE00 4.76
Spruce
#0A5F38
ΔE00 5.08
Pine Green
#0A481E
ΔE00 6.26
Forest Green
#2D5A27
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#225438 #54223E
analogous
#255422 #225438 #225451
triadic
#225438 #382254 #543822
tetradic
#225438 #222554 #54223E #545122
square
#225438 #222554 #54223E #545122
split-complementary
#225438 #512254 #542225
monochromatic
#09160F #10281B #225438 #348055 #45AB72
Accessibility & contrast
On white
8.77
#225438 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#225438 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #225438
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##225438 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##225438 | 1.00 | 8.77 | 2.39 | 8.77 |
| #FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544E36
Deuteranopia (green-blind)
#4C493A
Tritanopia (blue-blind)
#12534D
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #225438; /* rgb */ color: rgb(34, 84, 56); /* oklch */ color: oklch(40.3% 0.072 156.4);
Tailwind
colors: {
custom: {
50: '#62846e',
500: '#225438',
950: '#000000',
},
}SCSS
$custom: #225438; $custom-light: #62846e; $custom-dark: #000000;
JSON
{
"hex": "#225438",
"rgb": {
"r": 34,
"g": 84,
"b": 56
},
"hsl": {
"h": 146.4,
"s": 42.373,
"l": 23.137
},
"oklch": {
"l": 0.40299,
"c": 0.07225,
"h": 156.4
},
"luminance": 0.06966
}Semantic roles & 50–950 ramp
primary
#225438
secondary
#884A6D
accent
#569BD2
background
#F6F8F6
surface
#EBEFEC
border
#C6CAC7
text
#050B07
muted
#7A7C7A