#285F19#285F19
#285F19 is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.2% C 0.117 H 139.7°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #285F19 |
|---|---|
| RGB | rgb(40, 95, 25) |
| HSL | hsl(107, 58%, 24%) |
| HSV | hsv(107, 74%, 37%) |
| CMYK | cmyk(57.9%, 0%, 73.7%, 62.7%) |
| CIE-LAB | lab(35.41, -32.49, 33.12) |
| CIE-LCH | lch(35.41, 46.40, 134.44°) |
| OKLab | oklab(43.24% -0.0892 0.0757) |
| OKLCH | oklch(43.24% 0.117 139.7) |
| XYZ | xyz(5.1425, 8.7053, 2.3288) |
| Luminance | 0.0871 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.57
Forest Green
#2D5A27
ΔE00 3.87
Forest
#0B5509
ΔE00 3.99
Darkgreen
#006400
ΔE00 4.19
Navy Green
#35530A
ΔE00 5.74
Pine
#2B5D34
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#285F19 #50195F
analogous
#4B5F19 #285F19 #195F2D
triadic
#285F19 #19285F #5F1928
tetradic
#285F19 #194B5F #50195F #5F2D19
square
#285F19 #194B5F #50195F #5F2D19
split-complementary
#285F19 #2D195F #5F194B
monochromatic
#0A1806 #142F0C #285F19 #3C8F26 #51C032
Accessibility & contrast
On white
7.66
#285F19 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#285F19 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #285F19
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##285F19 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##285F19 | 1.00 | 7.66 | 2.74 | 7.66 |
| #FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#62560F
Deuteranopia (green-blind)
#5B5220
Tritanopia (blue-blind)
#225C51
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #285f19; /* rgb */ color: rgb(40, 95, 25); /* oklch */ color: oklch(43.2% 0.117 139.7);
Tailwind
colors: {
custom: {
50: '#698d5a',
500: '#285f19',
950: '#000000',
},
}SCSS
$custom: #285f19; $custom-light: #698d5a; $custom-dark: #000000;
JSON
{
"hex": "#285f19",
"rgb": {
"r": 40,
"g": 95,
"b": 25
},
"hsl": {
"h": 107.143,
"s": 58.333,
"l": 23.529
},
"oklch": {
"l": 0.43238,
"c": 0.11697,
"h": 139.7
},
"luminance": 0.08706
}Semantic roles & 50–950 ramp
primary
#285F19
secondary
#833F95
accent
#46E2C0
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79