#225B22#225B22
#225B22 is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.9% C 0.107 H 143.4°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #225B22 |
|---|---|
| RGB | rgb(34, 91, 34) |
| HSL | hsl(120, 46%, 25%) |
| HSV | hsv(120, 63%, 36%) |
| CMYK | cmyk(62.6%, 0%, 62.6%, 64.3%) |
| CIE-LAB | lab(33.85, -31.50, 26.93) |
| CIE-LCH | lch(33.85, 41.44, 139.47°) |
| OKLab | oklab(41.92% -0.0856 0.0636) |
| OKLCH | oklch(41.92% 0.107 143.4) |
| XYZ | xyz(4.6892, 7.9373, 2.7980) |
| Luminance | 0.0794 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 1.95
Deep Green
#02590F
ΔE00 3.47
Forest
#0B5509
ΔE00 3.92
Pine
#2B5D34
ΔE00 4.09
Bottle Green
#044A05
ΔE00 6.03
Spruce
#0A5F38
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#225B22 #5B225B
analogous
#3F5B22 #225B22 #225B3F
triadic
#225B22 #22225B #5B2222
tetradic
#225B22 #223F5B #5B225B #5B3F22
square
#225B22 #223F5B #5B225B #5B3F22
split-complementary
#225B22 #3F225B #5B223F
monochromatic
#081608 #112E11 #225B22 #338833 #43B443
Accessibility & contrast
On white
8.12
#225B22 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#225B22 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #225B22
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##225B22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##225B22 | 1.00 | 8.12 | 2.59 | 8.12 |
| #FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D531C
Deuteranopia (green-blind)
#564E26
Tritanopia (blue-blind)
#18584F
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #225b22; /* rgb */ color: rgb(34, 91, 34); /* oklch */ color: oklch(41.9% 0.107 143.4);
Tailwind
colors: {
custom: {
50: '#648a5f',
500: '#225b22',
950: '#000000',
},
}SCSS
$custom: #225b22; $custom-light: #648a5f; $custom-dark: #000000;
JSON
{
"hex": "#225b22",
"rgb": {
"r": 34,
"g": 91,
"b": 34
},
"hsl": {
"h": 120,
"s": 45.6,
"l": 24.51
},
"oklch": {
"l": 0.4192,
"c": 0.10663,
"h": 143.4
},
"luminance": 0.07938
}Semantic roles & 50–950 ramp
primary
#225B22
secondary
#8F4A8F
accent
#53D5D5
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C05
muted
#7A7D79