#286018#286018
#286018 is a dark, moderate green. Relative luminance 0.089; OKLCH L 43.5% C 0.119 H 139.6°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #286018 |
|---|---|
| RGB | rgb(40, 96, 24) |
| HSL | hsl(107, 60%, 24%) |
| HSV | hsv(107, 75%, 38%) |
| CMYK | cmyk(58.3%, 0%, 75%, 62.4%) |
| CIE-LAB | lab(35.76, -33.00, 33.92) |
| CIE-LCH | lch(35.76, 47.33, 134.21°) |
| OKLab | oklab(43.52% -0.0907 0.0772) |
| OKLCH | oklch(43.52% 0.119 139.6) |
| XYZ | xyz(5.2226, 8.8824, 2.3032) |
| Luminance | 0.0888 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.73
Darkgreen
#006400
ΔE00 3.89
Forest
#0B5509
ΔE00 4.20
Forest Green
#2D5A27
ΔE00 4.26
Navy Green
#35530A
ΔE00 5.91
Pine
#2B5D34
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286018 #501860
analogous
#4C6018 #286018 #18602C
triadic
#286018 #182860 #601828
tetradic
#286018 #184C60 #501860 #602C18
square
#286018 #184C60 #501860 #602C18
split-complementary
#286018 #2C1860 #60184C
monochromatic
#0A1806 #142F0C #286018 #3C9124 #51C230
Accessibility & contrast
On white
7.56
#286018 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#286018 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #286018
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286018 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286018 | 1.00 | 7.56 | 2.78 | 7.56 |
| #FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#63570D
Deuteranopia (green-blind)
#5C521F
Tritanopia (blue-blind)
#225D52
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #286018; /* rgb */ color: rgb(40, 96, 24); /* oklch */ color: oklch(43.5% 0.119 139.6);
Tailwind
colors: {
custom: {
50: '#698e5a',
500: '#286018',
950: '#000000',
},
}SCSS
$custom: #286018; $custom-light: #698e5a; $custom-dark: #000000;
JSON
{
"hex": "#286018",
"rgb": {
"r": 40,
"g": 96,
"b": 24
},
"hsl": {
"h": 106.667,
"s": 60,
"l": 23.529
},
"oklch": {
"l": 0.43521,
"c": 0.11909,
"h": 139.6
},
"luminance": 0.08883
}Semantic roles & 50–950 ramp
primary
#286018
secondary
#833D96
accent
#45E3C0
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79