#225F17#225F17
#225F17 is a dark, vivid green. Relative luminance 0.086; OKLCH L 43.0% C 0.121 H 140.9°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #225F17 |
|---|---|
| RGB | rgb(34, 95, 23) |
| HSL | hsl(111, 61%, 23%) |
| HSV | hsv(111, 76%, 37%) |
| CMYK | cmyk(64.2%, 0%, 75.8%, 62.7%) |
| CIE-LAB | lab(35.17, -34.41, 33.68) |
| CIE-LCH | lch(35.17, 48.15, 135.61°) |
| OKLab | oklab(42.98% -0.0941 0.0766) |
| OKLCH | oklch(42.98% 0.121 140.9) |
| XYZ | xyz(4.9063, 8.5859, 2.2091) |
| Luminance | 0.0859 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.95
Forest
#0B5509
ΔE00 3.57
Darkgreen
#006400
ΔE00 3.63
Forest Green
#2D5A27
ΔE00 4.22
Navy Green
#35530A
ΔE00 6.23
Pine
#2B5D34
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#225F17 #54175F
analogous
#465F17 #225F17 #175F30
triadic
#225F17 #17225F #5F1722
tetradic
#225F17 #17465F #54175F #5F3017
square
#225F17 #17465F #54175F #5F3017
split-complementary
#225F17 #30175F #5F1746
monochromatic
#091906 #102E0B #225F17 #349023 #45C22F
Accessibility & contrast
On white
7.73
#225F17 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#225F17 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #225F17
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##225F17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##225F17 | 1.00 | 7.73 | 2.72 | 7.73 |
| #FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#62560B
Deuteranopia (green-blind)
#5A511E
Tritanopia (blue-blind)
#195C51
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #225f17; /* rgb */ color: rgb(34, 95, 23); /* oklch */ color: oklch(43.0% 0.121 140.9);
Tailwind
colors: {
custom: {
50: '#668d59',
500: '#225f17',
950: '#000000',
},
}SCSS
$custom: #225f17; $custom-light: #668d59; $custom-dark: #000000;
JSON
{
"hex": "#225f17",
"rgb": {
"r": 34,
"g": 95,
"b": 23
},
"hsl": {
"h": 110.833,
"s": 61.017,
"l": 23.137
},
"oklch": {
"l": 0.42977,
"c": 0.12137,
"h": 140.9
},
"luminance": 0.08586
}Semantic roles & 50–950 ramp
primary
#225F17
secondary
#883C96
accent
#44E4CC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79