#285C1F#285C1F
#285C1F is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.4% C 0.108 H 140.8°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #285C1F |
|---|---|
| RGB | rgb(40, 92, 31) |
| HSL | hsl(111, 50%, 24%) |
| HSV | hsv(111, 66%, 36%) |
| CMYK | cmyk(56.5%, 0%, 66.3%, 63.9%) |
| CIE-LAB | lab(34.40, -30.55, 29.17) |
| CIE-LCH | lch(34.40, 42.24, 136.32°) |
| OKLab | oklab(42.43% -0.0835 0.0681) |
| OKLCH | oklch(42.43% 0.108 140.8) |
| XYZ | xyz(4.9493, 8.2039, 2.6188) |
| Luminance | 0.0820 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.18
Deep Green
#02590F
ΔE00 3.59
Forest
#0B5509
ΔE00 3.87
Pine
#2B5D34
ΔE00 4.91
Darkgreen
#006400
ΔE00 5.66
Navy Green
#35530A
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#285C1F #531F5C
analogous
#475C1F #285C1F #1F5C35
triadic
#285C1F #1F285C #5C1F28
tetradic
#285C1F #1F475C #531F5C #5C351F
square
#285C1F #1F475C #531F5C #5C351F
split-complementary
#285C1F #351F5C #5C1F47
monochromatic
#0A1708 #142E10 #285C1F #3C8A2E #50B83E
Accessibility & contrast
On white
7.95
#285C1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#285C1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #285C1F
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##285C1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##285C1F | 1.00 | 7.95 | 2.64 | 7.95 |
| #FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E5418
Deuteranopia (green-blind)
#584F24
Tritanopia (blue-blind)
#22594F
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #285c1f; /* rgb */ color: rgb(40, 92, 31); /* oklch */ color: oklch(42.4% 0.108 140.8);
Tailwind
colors: {
custom: {
50: '#688b5d',
500: '#285c1f',
950: '#000000',
},
}SCSS
$custom: #285c1f; $custom-light: #688b5d; $custom-dark: #000000;
JSON
{
"hex": "#285c1f",
"rgb": {
"r": 40,
"g": 92,
"b": 31
},
"hsl": {
"h": 111.148,
"s": 49.593,
"l": 24.118
},
"oklch": {
"l": 0.42428,
"c": 0.10776,
"h": 140.8
},
"luminance": 0.08204
}Semantic roles & 50–950 ramp
primary
#285C1F
secondary
#864691
accent
#4FD9C5
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79