#285F15#285F15
#285F15 is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.2% C 0.120 H 139.0°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #285F15 |
|---|---|
| RGB | rgb(40, 95, 21) |
| HSL | hsl(105, 64%, 23%) |
| HSV | hsv(105, 78%, 37%) |
| CMYK | cmyk(57.9%, 0%, 77.9%, 62.7%) |
| CIE-LAB | lab(35.38, -32.84, 34.80) |
| CIE-LCH | lch(35.38, 47.85, 133.34°) |
| OKLab | oklab(43.2% -0.0905 0.0786) |
| OKLCH | oklch(43.2% 0.12 139) |
| XYZ | xyz(5.1024, 8.6893, 2.1176) |
| Luminance | 0.0869 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.68
Darkgreen
#006400
ΔE00 3.88
Forest
#0B5509
ΔE00 3.99
Forest Green
#2D5A27
ΔE00 4.44
Navy Green
#35530A
ΔE00 5.52
Pine
#2B5D34
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#285F15 #4C155F
analogous
#4D5F15 #285F15 #155F27
triadic
#285F15 #15285F #5F1528
tetradic
#285F15 #154D5F #4C155F #5F2715
square
#285F15 #154D5F #4C155F #5F2715
split-complementary
#285F15 #27155F #5F154D
monochromatic
#0B1906 #132D0A #285F15 #3D9120 #52C32B
Accessibility & contrast
On white
7.67
#285F15 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#285F15 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #285F15
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##285F15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##285F15 | 1.00 | 7.67 | 2.74 | 7.67 |
| #FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#625608
Deuteranopia (green-blind)
#5B511C
Tritanopia (blue-blind)
#235C51
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #285f15; /* rgb */ color: rgb(40, 95, 21); /* oklch */ color: oklch(43.2% 0.120 139.0);
Tailwind
colors: {
custom: {
50: '#698d58',
500: '#285f15',
950: '#000000',
},
}SCSS
$custom: #285f15; $custom-light: #698d58; $custom-dark: #000000;
JSON
{
"hex": "#285f15",
"rgb": {
"r": 40,
"g": 95,
"b": 21
},
"hsl": {
"h": 104.595,
"s": 63.793,
"l": 22.745
},
"oklch": {
"l": 0.43202,
"c": 0.11982,
"h": 139
},
"luminance": 0.0869
}Semantic roles & 50–950 ramp
primary
#285F15
secondary
#7E3A96
accent
#41E7BC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78