#285D0F#285D0F
#285D0F is a dark, vivid green. Relative luminance 0.083; OKLCH L 42.6% C 0.121 H 138.0°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #285D0F |
|---|---|
| RGB | rgb(40, 93, 15) |
| HSL | hsl(101, 72%, 21%) |
| HSV | hsv(101, 84%, 36%) |
| CMYK | cmyk(57%, 0%, 83.9%, 63.5%) |
| CIE-LAB | lab(34.63, -32.45, 36.34) |
| CIE-LCH | lch(34.63, 48.72, 131.76°) |
| OKLab | oklab(42.57% -0.0898 0.0808) |
| OKLCH | oklch(42.57% 0.121 138) |
| XYZ | xyz(4.8755, 8.3139, 1.7997) |
| Luminance | 0.0831 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 3.74
Deep Green
#02590F
ΔE00 3.76
Darkgreen
#006400
ΔE00 4.08
Navy Green
#35530A
ΔE00 4.81
Forest Green
#2D5A27
ΔE00 4.85
Bottle Green
#044A05
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#285D0F #440F5D
analogous
#4F5D0F #285D0F #0F5D1D
triadic
#285D0F #0F285D #5D0F28
tetradic
#285D0F #0F4F5D #440F5D #5D1D0F
square
#285D0F #0F4F5D #440F5D #5D1D0F
split-complementary
#285D0F #1D0F5D #5D0F4F
monochromatic
#0B1A04 #112806 #285D0F #3F9217 #55C620
Accessibility & contrast
On white
7.89
#285D0F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#285D0F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #285D0F
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##285D0F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##285D0F | 1.00 | 7.89 | 2.66 | 7.89 |
| #FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#605400
Deuteranopia (green-blind)
#595018
Tritanopia (blue-blind)
#24594F
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #285d0f; /* rgb */ color: rgb(40, 93, 15); /* oklch */ color: oklch(42.6% 0.121 138.0);
Tailwind
colors: {
custom: {
50: '#698b55',
500: '#285d0f',
950: '#000000',
},
}SCSS
$custom: #285d0f; $custom-light: #698b55; $custom-dark: #000000;
JSON
{
"hex": "#285d0f",
"rgb": {
"r": 40,
"g": 93,
"b": 15
},
"hsl": {
"h": 100.769,
"s": 72.222,
"l": 21.176
},
"oklch": {
"l": 0.42571,
"c": 0.12082,
"h": 138
},
"luminance": 0.08314
}Semantic roles & 50–950 ramp
primary
#285D0F
secondary
#763196
accent
#39EFB5
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78