#285C0F#285C0F
#285C0F is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.3% C 0.119 H 137.9°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #285C0F |
|---|---|
| RGB | rgb(40, 92, 15) |
| HSL | hsl(101, 72%, 21%) |
| HSV | hsv(101, 84%, 36%) |
| CMYK | cmyk(56.5%, 0%, 83.7%, 63.9%) |
| CIE-LAB | lab(34.27, -32.02, 36.01) |
| CIE-LCH | lch(34.27, 48.19, 131.65°) |
| OKLab | oklab(42.28% -0.0887 0.0801) |
| OKLCH | oklch(42.28% 0.12 137.9) |
| XYZ | xyz(4.7883, 8.1395, 1.7706) |
| Luminance | 0.0814 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 3.56
Deep Green
#02590F
ΔE00 3.70
Darkgreen
#006400
ΔE00 4.34
Navy Green
#35530A
ΔE00 4.56
Forest Green
#2D5A27
ΔE00 4.70
Bottle Green
#044A05
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#285C0F #430F5C
analogous
#4E5C0F #285C0F #0F5C1C
triadic
#285C0F #0F285C #5C0F28
tetradic
#285C0F #0F4E5C #430F5C #5C1C0F
square
#285C0F #0F4E5C #430F5C #5C1C0F
split-complementary
#285C0F #1C0F5C #5C0F4E
monochromatic
#0B1A04 #112706 #285C0F #3F9118 #56C520
Accessibility & contrast
On white
7.99
#285C0F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#285C0F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #285C0F
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##285C0F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##285C0F | 1.00 | 7.99 | 2.63 | 7.99 |
| #FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F5300
Deuteranopia (green-blind)
#594F18
Tritanopia (blue-blind)
#24584E
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #285c0f; /* rgb */ color: rgb(40, 92, 15); /* oklch */ color: oklch(42.3% 0.119 137.9);
Tailwind
colors: {
custom: {
50: '#698b54',
500: '#285c0f',
950: '#000000',
},
}SCSS
$custom: #285c0f; $custom-light: #698b54; $custom-dark: #000000;
JSON
{
"hex": "#285c0f",
"rgb": {
"r": 40,
"g": 92,
"b": 15
},
"hsl": {
"h": 100.519,
"s": 71.963,
"l": 20.98
},
"oklch": {
"l": 0.42277,
"c": 0.1195,
"h": 137.9
},
"luminance": 0.0814
}Semantic roles & 50–950 ramp
primary
#285C0F
secondary
#753195
accent
#39EFB4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78