#225F31#225F31
#225F31 is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.3% C 0.097 H 148.8°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).
Color values
| HEX | #225F31 |
|---|---|
| RGB | rgb(34, 95, 49) |
| HSL | hsl(135, 47%, 25%) |
| HSV | hsv(135, 64%, 37%) |
| CMYK | cmyk(64.2%, 0%, 48.4%, 62.7%) |
| CIE-LAB | lab(35.49, -30.85, 20.60) |
| CIE-LCH | lch(35.49, 37.09, 146.27°) |
| OKLab | oklab(43.34% -0.0834 0.0505) |
| OKLCH | oklch(43.34% 0.097 148.8) |
| XYZ | xyz(5.3059, 8.7457, 4.3136) |
| Luminance | 0.0875 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 1.80
Spruce
#0A5F38
ΔE00 3.16
Forest Green
#2D5A27
ΔE00 3.36
Hunter Green
#355E3B
ΔE00 3.92
Deep Green
#02590F
ΔE00 6.17
Forest
#0B5509
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#225F31 #5F2250
analogous
#315F22 #225F31 #225F4F
triadic
#225F31 #31225F #5F3122
tetradic
#225F31 #22315F #5F2250 #5F4F22
square
#225F31 #22315F #5F2250 #5F4F22
split-complementary
#225F31 #4F225F #5F2231
monochromatic
#08170C #12321A #225F31 #328C48 #42B95F
Accessibility & contrast
On white
7.64
#225F31 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#225F31 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #225F31
7.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##225F31 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##225F31 | 1.00 | 7.64 | 2.75 | 7.64 |
| #FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#60572D
Deuteranopia (green-blind)
#585134
Tritanopia (blue-blind)
#115D54
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #225f31; /* rgb */ color: rgb(34, 95, 49); /* oklch */ color: oklch(43.3% 0.097 148.8);
Tailwind
colors: {
custom: {
50: '#648d6a',
500: '#225f31',
950: '#000000',
},
}SCSS
$custom: #225f31; $custom-light: #648d6a; $custom-dark: #000000;
JSON
{
"hex": "#225f31",
"rgb": {
"r": 34,
"g": 95,
"b": 49
},
"hsl": {
"h": 134.754,
"s": 47.287,
"l": 25.294
},
"oklch": {
"l": 0.43339,
"c": 0.09747,
"h": 148.8
},
"luminance": 0.08746
}Semantic roles & 50–950 ramp
primary
#225F31
secondary
#934A81
accent
#51B6D7
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A