#225C18#225C18
#225C18 is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.1% C 0.117 H 140.9°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #225C18 |
|---|---|
| RGB | rgb(34, 92, 24) |
| HSL | hsl(111, 59%, 23%) |
| HSV | hsv(111, 74%, 36%) |
| CMYK | cmyk(63%, 0%, 73.9%, 63.9%) |
| CIE-LAB | lab(34.11, -33.09, 32.13) |
| CIE-LCH | lch(34.11, 46.12, 135.84°) |
| OKLab | oklab(42.1% -0.0905 0.0735) |
| OKLCH | oklch(42.1% 0.117 140.9) |
| XYZ | xyz(4.6515, 8.0599, 2.1746) |
| Luminance | 0.0806 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.59
Forest
#0B5509
ΔE00 2.94
Forest Green
#2D5A27
ΔE00 3.46
Darkgreen
#006400
ΔE00 4.51
Navy Green
#35530A
ΔE00 5.76
Bottle Green
#044A05
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#225C18 #52185C
analogous
#445C18 #225C18 #185C30
triadic
#225C18 #18225C #5C1822
tetradic
#225C18 #18445C #52185C #5C3018
square
#225C18 #18445C #52185C #5C3018
split-complementary
#225C18 #30185C #5C1844
monochromatic
#091806 #102B0B #225C18 #348D25 #46BD31
Accessibility & contrast
On white
8.04
#225C18 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#225C18 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #225C18
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##225C18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##225C18 | 1.00 | 8.04 | 2.61 | 8.04 |
| #FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F530E
Deuteranopia (green-blind)
#574E1E
Tritanopia (blue-blind)
#1A594E
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #225c18; /* rgb */ color: rgb(34, 92, 24); /* oklch */ color: oklch(42.1% 0.117 140.9);
Tailwind
colors: {
custom: {
50: '#658b59',
500: '#225c18',
950: '#000000',
},
}SCSS
$custom: #225c18; $custom-light: #658b59; $custom-dark: #000000;
JSON
{
"hex": "#225c18",
"rgb": {
"r": 34,
"g": 92,
"b": 24
},
"hsl": {
"h": 111.176,
"s": 58.621,
"l": 22.745
},
"oklch": {
"l": 0.42098,
"c": 0.11658,
"h": 140.9
},
"luminance": 0.0806
}Semantic roles & 50–950 ramp
primary
#225C18
secondary
#863D93
accent
#46E2CB
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79