#285E18#285E18
#285E18 is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.9% C 0.116 H 139.4°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #285E18 |
|---|---|
| RGB | rgb(40, 94, 24) |
| HSL | hsl(106, 59%, 23%) |
| HSV | hsv(106, 74%, 37%) |
| CMYK | cmyk(57.4%, 0%, 74.5%, 63.1%) |
| CIE-LAB | lab(35.05, -32.16, 33.19) |
| CIE-LCH | lch(35.05, 46.21, 134.10°) |
| OKLab | oklab(42.94% -0.0884 0.0756) |
| OKLCH | oklch(42.94% 0.116 139.4) |
| XYZ | xyz(5.0424, 8.5221, 2.2432) |
| Luminance | 0.0852 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.47
Forest
#0B5509
ΔE00 3.77
Forest Green
#2D5A27
ΔE00 3.79
Darkgreen
#006400
ΔE00 4.34
Navy Green
#35530A
ΔE00 5.46
Pine
#2B5D34
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#285E18 #4E185E
analogous
#4B5E18 #285E18 #185E2B
triadic
#285E18 #18285E #5E1828
tetradic
#285E18 #184B5E #4E185E #5E2B18
square
#285E18 #184B5E #4E185E #5E2B18
split-complementary
#285E18 #2B185E #5E184B
monochromatic
#0A1806 #132D0C #285E18 #3D8F24 #51C031
Accessibility & contrast
On white
7.77
#285E18 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#285E18 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #285E18
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##285E18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##285E18 | 1.00 | 7.77 | 2.70 | 7.77 |
| #FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#61550D
Deuteranopia (green-blind)
#5A511F
Tritanopia (blue-blind)
#235B50
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #285e18; /* rgb */ color: rgb(40, 94, 24); /* oklch */ color: oklch(42.9% 0.116 139.4);
Tailwind
colors: {
custom: {
50: '#688c59',
500: '#285e18',
950: '#000000',
},
}SCSS
$custom: #285e18; $custom-light: #688c59; $custom-dark: #000000;
JSON
{
"hex": "#285e18",
"rgb": {
"r": 40,
"g": 94,
"b": 24
},
"hsl": {
"h": 106.286,
"s": 59.322,
"l": 23.137
},
"oklch": {
"l": 0.42936,
"c": 0.11634,
"h": 139.4
},
"luminance": 0.08522
}Semantic roles & 50–950 ramp
primary
#285E18
secondary
#813D94
accent
#45E3BF
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79