#285E12#285E12
#285E12 is a dark, vivid green. Relative luminance 0.085; OKLCH L 42.9% C 0.120 H 138.5°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #285E12 |
|---|---|
| RGB | rgb(40, 94, 18) |
| HSL | hsl(103, 68%, 22%) |
| HSV | hsv(103, 81%, 37%) |
| CMYK | cmyk(57.4%, 0%, 80.9%, 63.1%) |
| CIE-LAB | lab(35.00, -32.66, 35.61) |
| CIE-LCH | lch(35.00, 48.32, 132.52°) |
| OKLab | oklab(42.89% -0.0902 0.0798) |
| OKLCH | oklch(42.89% 0.12 138.5) |
| XYZ | xyz(4.9868, 8.4998, 1.9500) |
| Luminance | 0.0850 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.69
Forest
#0B5509
ΔE00 3.84
Darkgreen
#006400
ΔE00 3.94
Forest Green
#2D5A27
ΔE00 4.64
Navy Green
#35530A
ΔE00 5.15
Bottle Green
#044A05
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#285E12 #48125E
analogous
#4E5E12 #285E12 #125E22
triadic
#285E12 #12285E #5E1228
tetradic
#285E12 #124E5E #48125E #5E2212
square
#285E12 #124E5E #48125E #5E2212
split-complementary
#285E12 #22125E #5E124E
monochromatic
#0B1A05 #122B08 #285E12 #3E911C #54C526
Accessibility & contrast
On white
7.78
#285E12 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#285E12 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #285E12
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##285E12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##285E12 | 1.00 | 7.78 | 2.70 | 7.78 |
| #FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#615503
Deuteranopia (green-blind)
#5A511A
Tritanopia (blue-blind)
#235A50
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #285e12; /* rgb */ color: rgb(40, 94, 18); /* oklch */ color: oklch(42.9% 0.120 138.5);
Tailwind
colors: {
custom: {
50: '#698c56',
500: '#285e12',
950: '#000000',
},
}SCSS
$custom: #285e12; $custom-light: #698c56; $custom-dark: #000000;
JSON
{
"hex": "#285e12",
"rgb": {
"r": 40,
"g": 94,
"b": 18
},
"hsl": {
"h": 102.632,
"s": 67.857,
"l": 21.961
},
"oklch": {
"l": 0.42885,
"c": 0.1204,
"h": 138.5
},
"luminance": 0.085
}Semantic roles & 50–950 ramp
primary
#285E12
secondary
#7A3596
accent
#3DEBB8
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78