#295B17#295B17
#295B17 is a dark, moderate green. Relative luminance 0.080; OKLCH L 42.1% C 0.112 H 138.7°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #295B17 |
|---|---|
| RGB | rgb(41, 91, 23) |
| HSL | hsl(104, 60%, 22%) |
| HSV | hsv(104, 75%, 36%) |
| CMYK | cmyk(54.9%, 0%, 74.7%, 64.3%) |
| CIE-LAB | lab(34.01, -30.64, 32.56) |
| CIE-LCH | lch(34.01, 44.71, 133.25°) |
| OKLab | oklab(42.1% -0.0844 0.0742) |
| OKLCH | oklch(42.1% 0.112 138.7) |
| XYZ | xyz(4.8100, 8.0151, 2.1040) |
| Luminance | 0.0801 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.39
Forest
#0B5509
ΔE00 3.42
Deep Green
#02590F
ΔE00 3.51
Navy Green
#35530A
ΔE00 4.65
Darkgreen
#006400
ΔE00 5.12
Bottle Green
#044A05
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#295B17 #49175B
analogous
#4B5B17 #295B17 #175B27
triadic
#295B17 #17295B #5B1729
tetradic
#295B17 #174B5B #49175B #5B2717
square
#295B17 #174B5B #49175B #5B2717
split-complementary
#295B17 #27175B #5B174B
monochromatic
#0B1806 #132A0B #295B17 #3F8C23 #55BD30
Accessibility & contrast
On white
8.07
#295B17 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#295B17 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #295B17
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##295B17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##295B17 | 1.00 | 8.07 | 2.60 | 8.07 |
| #FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E530D
Deuteranopia (green-blind)
#574E1D
Tritanopia (blue-blind)
#25584D
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #295b17; /* rgb */ color: rgb(41, 91, 23); /* oklch */ color: oklch(42.1% 0.112 138.7);
Tailwind
colors: {
custom: {
50: '#688a58',
500: '#295b17',
950: '#000000',
},
}SCSS
$custom: #295b17; $custom-light: #688a58; $custom-dark: #000000;
JSON
{
"hex": "#295b17",
"rgb": {
"r": 41,
"g": 91,
"b": 23
},
"hsl": {
"h": 104.118,
"s": 59.649,
"l": 22.353
},
"oklch": {
"l": 0.42095,
"c": 0.11238,
"h": 138.7
},
"luminance": 0.08015
}Semantic roles & 50–950 ramp
primary
#295B17
secondary
#7B3C92
accent
#45E3B9
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78