#295918#295918
#295918 is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.5% C 0.109 H 138.7°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).
Color values
| HEX | #295918 |
|---|---|
| RGB | rgb(41, 89, 24) |
| HSL | hsl(104, 58%, 22%) |
| HSV | hsv(104, 73%, 35%) |
| CMYK | cmyk(53.9%, 0%, 73%, 65.1%) |
| CIE-LAB | lab(33.31, -29.66, 31.37) |
| CIE-LCH | lch(33.31, 43.17, 133.39°) |
| OKLab | oklab(41.52% -0.0817 0.0718) |
| OKLCH | oklch(41.52% 0.109 138.7) |
| XYZ | xyz(4.6515, 7.6818, 2.1016) |
| Luminance | 0.0768 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.97
Forest
#0B5509
ΔE00 3.32
Deep Green
#02590F
ΔE00 3.61
Navy Green
#35530A
ΔE00 4.42
Bottle Green
#044A05
ΔE00 5.56
Darkgreen
#006400
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#295918 #481859
analogous
#4A5918 #295918 #185928
triadic
#295918 #182959 #591829
tetradic
#295918 #184A59 #481859 #592818
square
#295918 #184A59 #481859 #592818
split-complementary
#295918 #281859 #59184A
monochromatic
#0B1806 #13290B #295918 #3F8925 #55B932
Accessibility & contrast
On white
8.28
#295918 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#295918 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #295918
8.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##295918 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##295918 | 1.00 | 8.28 | 2.54 | 8.28 |
| #FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C510F
Deuteranopia (green-blind)
#564D1E
Tritanopia (blue-blind)
#25564C
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #295918; /* rgb */ color: rgb(41, 89, 24); /* oklch */ color: oklch(41.5% 0.109 138.7);
Tailwind
colors: {
custom: {
50: '#688859',
500: '#295918',
950: '#000000',
},
}SCSS
$custom: #295918; $custom-light: #688859; $custom-dark: #000000;
JSON
{
"hex": "#295918",
"rgb": {
"r": 41,
"g": 89,
"b": 24
},
"hsl": {
"h": 104.308,
"s": 57.522,
"l": 22.157
},
"oklch": {
"l": 0.41519,
"c": 0.10879,
"h": 138.7
},
"luminance": 0.07682
}Semantic roles & 50–950 ramp
primary
#295918
secondary
#7A3D90
accent
#47E1B9
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B04
muted
#7A7C79