#225531#225531
#225531 is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.4% C 0.082 H 150.8°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).
Color values
| HEX | #225531 |
|---|---|
| RGB | rgb(34, 85, 49) |
| HSL | hsl(138, 43%, 23%) |
| HSV | hsv(138, 60%, 33%) |
| CMYK | cmyk(60%, 0%, 42.4%, 66.7%) |
| CIE-LAB | lab(31.94, -26.26, 15.99) |
| CIE-LCH | lch(31.94, 30.75, 148.67°) |
| OKLab | oklab(40.42% -0.0712 0.0398) |
| OKLCH | oklch(40.42% 0.082 150.8) |
| XYZ | xyz(4.4622, 7.0584, 4.0324) |
| Luminance | 0.0706 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 2.93
Hunter Green
#355E3B
ΔE00 3.82
Spruce
#0A5F38
ΔE00 4.21
Forest Green
#2D5A27
ΔE00 4.69
Pine Green
#0A481E
ΔE00 4.91
Evergreen
#05472A
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#225531 #552246
analogous
#2C5522 #225531 #22554A
triadic
#225531 #312255 #553122
tetradic
#225531 #222C55 #552246 #554A22
square
#225531 #222C55 #552246 #554A22
split-complementary
#225531 #4A2255 #55222C
monochromatic
#09160D #112918 #225531 #33814A #45AC63
Accessibility & contrast
On white
8.71
#225531 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#225531 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #225531
8.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##225531 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##225531 | 1.00 | 8.71 | 2.41 | 8.71 |
| #FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554E2F
Deuteranopia (green-blind)
#4E4933
Tritanopia (blue-blind)
#15544C
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #225531; /* rgb */ color: rgb(34, 85, 49); /* oklch */ color: oklch(40.4% 0.082 150.8);
Tailwind
colors: {
custom: {
50: '#628569',
500: '#225531',
950: '#000000',
},
}SCSS
$custom: #225531; $custom-light: #628569; $custom-dark: #000000;
JSON
{
"hex": "#225531",
"rgb": {
"r": 34,
"g": 85,
"b": 49
},
"hsl": {
"h": 137.647,
"s": 42.857,
"l": 23.333
},
"oklch": {
"l": 0.40424,
"c": 0.08155,
"h": 150.8
},
"luminance": 0.07059
}Semantic roles & 50–950 ramp
primary
#225531
secondary
#894A76
accent
#55AED3
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#050B06
muted
#7A7C7A