#285712#285712
#285712 is a dark, moderate green. Relative luminance 0.073; OKLCH L 40.8% C 0.111 H 137.7°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).
Color values
| HEX | #285712 |
|---|---|
| RGB | rgb(40, 87, 18) |
| HSL | hsl(101, 66%, 21%) |
| HSV | hsv(101, 79%, 34%) |
| CMYK | cmyk(54%, 0%, 79.3%, 65.9%) |
| CIE-LAB | lab(32.50, -29.64, 33.14) |
| CIE-LCH | lch(32.50, 44.46, 131.81°) |
| OKLab | oklab(40.83% -0.082 0.0746) |
| OKLCH | oklch(40.83% 0.111 137.7) |
| XYZ | xyz(4.3923, 7.3109, 1.7518) |
| Luminance | 0.0731 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 3.09
Navy Green
#35530A
ΔE00 3.73
Deep Green
#02590F
ΔE00 3.74
Forest Green
#2D5A27
ΔE00 3.84
Bottle Green
#044A05
ΔE00 5.11
Darkgreen (survey)
#054907
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#285712 #411257
analogous
#4A5712 #285712 #12571F
triadic
#285712 #122857 #571228
tetradic
#285712 #124A57 #411257 #571F12
square
#285712 #124A57 #411257 #571F12
split-complementary
#285712 #1F1257 #57124A
monochromatic
#0C1905 #112408 #285712 #3F8A1C #57BC27
Accessibility & contrast
On white
8.53
#285712 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#285712 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #285712
8.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##285712 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##285712 | 1.00 | 8.53 | 2.46 | 8.53 |
| #FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A4F06
Deuteranopia (green-blind)
#544B19
Tritanopia (blue-blind)
#25544A
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #285712; /* rgb */ color: rgb(40, 87, 18); /* oklch */ color: oklch(40.8% 0.111 137.7);
Tailwind
colors: {
custom: {
50: '#678755',
500: '#285712',
950: '#000000',
},
}SCSS
$custom: #285712; $custom-light: #678755; $custom-dark: #000000;
JSON
{
"hex": "#285712",
"rgb": {
"r": 40,
"g": 87,
"b": 18
},
"hsl": {
"h": 100.87,
"s": 65.714,
"l": 20.588
},
"oklch": {
"l": 0.40828,
"c": 0.11091,
"h": 137.7
},
"luminance": 0.07311
}Semantic roles & 50–950 ramp
primary
#285712
secondary
#733590
accent
#3FE9B3
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78