#225428#225428
#225428 is a dark, moderate green. Relative luminance 0.068; OKLCH L 40.0% C 0.090 H 146.0°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).
Color values
| HEX | #225428 |
|---|---|
| RGB | rgb(34, 84, 40) |
| HSL | hsl(127, 42%, 23%) |
| HSV | hsv(127, 60%, 33%) |
| CMYK | cmyk(59.5%, 0%, 52.4%, 67.1%) |
| CIE-LAB | lab(31.43, -27.47, 20.67) |
| CIE-LCH | lch(31.43, 34.38, 143.04°) |
| OKLab | oklab(39.95% -0.0745 0.0502) |
| OKLCH | oklch(39.95% 0.09 146) |
| XYZ | xyz(4.2128, 6.8336, 3.1041) |
| Luminance | 0.0683 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.92
Pine
#2B5D34
ΔE00 3.21
Pine Green
#0A481E
ΔE00 4.21
Hunter Green
#355E3B
ΔE00 4.80
Spruce
#0A5F38
ΔE00 5.26
British Racing Green
#05480D
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#225428 #54224E
analogous
#355422 #225428 #225441
triadic
#225428 #282254 #542822
tetradic
#225428 #223554 #54224E #544122
square
#225428 #223554 #54224E #544122
split-complementary
#225428 #412254 #542235
monochromatic
#09160A #102813 #225428 #34803D #45AB51
Accessibility & contrast
On white
8.87
#225428 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#225428 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #225428
8.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##225428 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##225428 | 1.00 | 8.87 | 2.37 | 8.87 |
| #FFFFFF | 8.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554D24
Deuteranopia (green-blind)
#4F482B
Tritanopia (blue-blind)
#19524A
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #225428; /* rgb */ color: rgb(34, 84, 40); /* oklch */ color: oklch(40.0% 0.090 146.0);
Tailwind
colors: {
custom: {
50: '#628463',
500: '#225428',
950: '#000000',
},
}SCSS
$custom: #225428; $custom-light: #628463; $custom-dark: #000000;
JSON
{
"hex": "#225428",
"rgb": {
"r": 34,
"g": 84,
"b": 40
},
"hsl": {
"h": 127.2,
"s": 42.373,
"l": 23.137
},
"oklch": {
"l": 0.39951,
"c": 0.08982,
"h": 146
},
"luminance": 0.06834
}Semantic roles & 50–950 ramp
primary
#225428
secondary
#884A81
accent
#56C3D2
background
#F6F8F5
surface
#EBEFEA
border
#C6CAC6
text
#050B05
muted
#7A7C79