#295812#295812
#295812 is a dark, moderate green. Relative luminance 0.075; OKLCH L 41.2% C 0.112 H 137.5°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).
Color values
| HEX | #295812 |
|---|---|
| RGB | rgb(41, 88, 18) |
| HSL | hsl(100, 66%, 21%) |
| HSV | hsv(100, 80%, 35%) |
| CMYK | cmyk(53.4%, 0%, 79.5%, 65.5%) |
| CIE-LAB | lab(32.91, -29.75, 33.55) |
| CIE-LCH | lch(32.91, 44.84, 131.56°) |
| OKLab | oklab(41.17% -0.0824 0.0755) |
| OKLCH | oklch(41.17% 0.112 137.5) |
| XYZ | xyz(4.5132, 7.4942, 1.7809) |
| Luminance | 0.0750 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 3.24
Navy Green
#35530A
ΔE00 3.73
Deep Green
#02590F
ΔE00 3.80
Forest Green
#2D5A27
ΔE00 3.91
Bottle Green
#044A05
ΔE00 5.43
Darkgreen
#006400
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#295812 #411258
analogous
#4C5812 #295812 #12581E
triadic
#295812 #122958 #581229
tetradic
#295812 #124C58 #411258 #581E12
square
#295812 #124C58 #411258 #581E12
split-complementary
#295812 #1E1258 #58124C
monochromatic
#0C1905 #112508 #295812 #418B1C #58BE27
Accessibility & contrast
On white
8.40
#295812 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#295812 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #295812
8.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##295812 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##295812 | 1.00 | 8.40 | 2.50 | 8.40 |
| #FFFFFF | 8.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B5005
Deuteranopia (green-blind)
#554C19
Tritanopia (blue-blind)
#26554A
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #295812; /* rgb */ color: rgb(41, 88, 18); /* oklch */ color: oklch(41.2% 0.112 137.5);
Tailwind
colors: {
custom: {
50: '#688755',
500: '#295812',
950: '#000000',
},
}SCSS
$custom: #295812; $custom-light: #688755; $custom-dark: #000000;
JSON
{
"hex": "#295812",
"rgb": {
"r": 41,
"g": 88,
"b": 18
},
"hsl": {
"h": 100.286,
"s": 66.038,
"l": 20.784
},
"oklch": {
"l": 0.41171,
"c": 0.11174,
"h": 137.5
},
"luminance": 0.07495
}Semantic roles & 50–950 ramp
primary
#295812
secondary
#733591
accent
#3FE9B1
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78