#285912#285912
#285912 is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.4% C 0.114 H 138.0°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).
Color values
| HEX | #285912 |
|---|---|
| RGB | rgb(40, 89, 18) |
| HSL | hsl(101, 66%, 21%) |
| HSV | hsv(101, 80%, 35%) |
| CMYK | cmyk(55.1%, 0%, 79.8%, 65.1%) |
| CIE-LAB | lab(33.22, -30.52, 33.85) |
| CIE-LCH | lch(33.22, 45.58, 132.04°) |
| OKLab | oklab(41.42% -0.0844 0.0761) |
| OKLCH | oklch(41.42% 0.114 138) |
| XYZ | xyz(4.5565, 7.6392, 1.8066) |
| Luminance | 0.0764 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 3.13
Deep Green
#02590F
ΔE00 3.56
Forest Green
#2D5A27
ΔE00 3.94
Navy Green
#35530A
ΔE00 4.05
Darkgreen
#006400
ΔE00 5.29
Bottle Green
#044A05
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#285912 #431259
analogous
#4B5912 #285912 #12591F
triadic
#285912 #122859 #591228
tetradic
#285912 #124B59 #431259 #591F12
square
#285912 #124B59 #431259 #591F12
split-complementary
#285912 #1F1259 #59124B
monochromatic
#0B1905 #112608 #285912 #3F8C1C #56BF27
Accessibility & contrast
On white
8.31
#285912 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#285912 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #285912
8.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##285912 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##285912 | 1.00 | 8.31 | 2.53 | 8.31 |
| #FFFFFF | 8.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C5105
Deuteranopia (green-blind)
#564D19
Tritanopia (blue-blind)
#24564B
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #285912; /* rgb */ color: rgb(40, 89, 18); /* oklch */ color: oklch(41.4% 0.114 138.0);
Tailwind
colors: {
custom: {
50: '#688855',
500: '#285912',
950: '#000000',
},
}SCSS
$custom: #285912; $custom-light: #688855; $custom-dark: #000000;
JSON
{
"hex": "#285912",
"rgb": {
"r": 40,
"g": 89,
"b": 18
},
"hsl": {
"h": 101.408,
"s": 66.355,
"l": 20.98
},
"oklch": {
"l": 0.41417,
"c": 0.11366,
"h": 138
},
"luminance": 0.0764
}Semantic roles & 50–950 ramp
primary
#285912
secondary
#753592
accent
#3FE9B4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B03
muted
#7A7C78