#285D1F#285D1F
#285D1F is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.7% C 0.109 H 140.9°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #285D1F |
|---|---|
| RGB | rgb(40, 93, 31) |
| HSL | hsl(111, 50%, 24%) |
| HSV | hsv(111, 67%, 36%) |
| CMYK | cmyk(57%, 0%, 66.7%, 63.5%) |
| CIE-LAB | lab(34.76, -30.99, 29.57) |
| CIE-LCH | lch(34.76, 42.83, 136.34°) |
| OKLab | oklab(42.72% -0.0847 0.0689) |
| OKLCH | oklch(42.72% 0.109 140.9) |
| XYZ | xyz(5.0365, 8.3783, 2.6478) |
| Luminance | 0.0838 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.43
Deep Green
#02590F
ΔE00 3.58
Forest
#0B5509
ΔE00 3.96
Pine
#2B5D34
ΔE00 5.04
Darkgreen
#006400
ΔE00 5.39
Navy Green
#35530A
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#285D1F #541F5D
analogous
#475D1F #285D1F #1F5D35
triadic
#285D1F #1F285D #5D1F28
tetradic
#285D1F #1F475D #541F5D #5D351F
square
#285D1F #1F475D #541F5D #5D351F
split-complementary
#285D1F #351F5D #5D1F47
monochromatic
#0A1708 #142F10 #285D1F #3C8B2E #4FB93E
Accessibility & contrast
On white
7.85
#285D1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#285D1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #285D1F
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##285D1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##285D1F | 1.00 | 7.85 | 2.68 | 7.85 |
| #FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F5518
Deuteranopia (green-blind)
#595024
Tritanopia (blue-blind)
#225A50
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #285d1f; /* rgb */ color: rgb(40, 93, 31); /* oklch */ color: oklch(42.7% 0.109 140.9);
Tailwind
colors: {
custom: {
50: '#688b5d',
500: '#285d1f',
950: '#000000',
},
}SCSS
$custom: #285d1f; $custom-light: #688b5d; $custom-dark: #000000;
JSON
{
"hex": "#285d1f",
"rgb": {
"r": 40,
"g": 93,
"b": 31
},
"hsl": {
"h": 111.29,
"s": 50,
"l": 24.314
},
"oklch": {
"l": 0.4272,
"c": 0.10922,
"h": 140.9
},
"luminance": 0.08379
}Semantic roles & 50–950 ramp
primary
#285D1F
secondary
#874692
accent
#4EDAC5
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79