#285812#285812
#285812 is a dark, moderate green. Relative luminance 0.075; OKLCH L 41.1% C 0.112 H 137.8°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).
Color values
| HEX | #285812 |
|---|---|
| RGB | rgb(40, 88, 18) |
| HSL | hsl(101, 66%, 21%) |
| HSV | hsv(101, 80%, 35%) |
| CMYK | cmyk(54.5%, 0%, 79.5%, 65.5%) |
| CIE-LAB | lab(32.86, -30.08, 33.50) |
| CIE-LCH | lch(32.86, 45.02, 131.93°) |
| OKLab | oklab(41.12% -0.0832 0.0754) |
| OKLCH | oklch(41.12% 0.112 137.8) |
| XYZ | xyz(4.4738, 7.4739, 1.7790) |
| Luminance | 0.0747 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 3.08
Deep Green
#02590F
ΔE00 3.63
Forest Green
#2D5A27
ΔE00 3.88
Navy Green
#35530A
ΔE00 3.88
Bottle Green
#044A05
ΔE00 5.32
Darkgreen
#006400
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#285812 #421258
analogous
#4B5812 #285812 #12581F
triadic
#285812 #122858 #581228
tetradic
#285812 #124B58 #421258 #581F12
square
#285812 #124B58 #421258 #581F12
split-complementary
#285812 #1F1258 #58124B
monochromatic
#0C1905 #112508 #285812 #3F8B1C #56BE27
Accessibility & contrast
On white
8.42
#285812 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#285812 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #285812
8.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##285812 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##285812 | 1.00 | 8.42 | 2.49 | 8.42 |
| #FFFFFF | 8.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B5005
Deuteranopia (green-blind)
#554C19
Tritanopia (blue-blind)
#25554A
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #285812; /* rgb */ color: rgb(40, 88, 18); /* oklch */ color: oklch(41.1% 0.112 137.8);
Tailwind
colors: {
custom: {
50: '#688855',
500: '#285812',
950: '#000000',
},
}SCSS
$custom: #285812; $custom-light: #688855; $custom-dark: #000000;
JSON
{
"hex": "#285812",
"rgb": {
"r": 40,
"g": 88,
"b": 18
},
"hsl": {
"h": 101.143,
"s": 66.038,
"l": 20.784
},
"oklch": {
"l": 0.41122,
"c": 0.11228,
"h": 137.8
},
"luminance": 0.07474
}Semantic roles & 50–950 ramp
primary
#285812
secondary
#743591
accent
#3FE9B3
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78