#285C12#285C12
#285C12 is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.3% C 0.118 H 138.3°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #285C12 |
|---|---|
| RGB | rgb(40, 92, 18) |
| HSL | hsl(102, 67%, 22%) |
| HSV | hsv(102, 80%, 36%) |
| CMYK | cmyk(56.5%, 0%, 80.4%, 63.9%) |
| CIE-LAB | lab(34.29, -31.81, 34.91) |
| CIE-LCH | lch(34.29, 47.23, 132.34°) |
| OKLab | oklab(42.3% -0.0879 0.0783) |
| OKLCH | oklch(42.3% 0.118 138.3) |
| XYZ | xyz(4.8112, 8.1487, 1.8915) |
| Luminance | 0.0815 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 3.47
Deep Green
#02590F
ΔE00 3.54
Forest Green
#2D5A27
ΔE00 4.30
Darkgreen
#006400
ΔE00 4.45
Navy Green
#35530A
ΔE00 4.67
Bottle Green
#044A05
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#285C12 #46125C
analogous
#4D5C12 #285C12 #125C21
triadic
#285C12 #12285C #5C1228
tetradic
#285C12 #124D5C #46125C #5C2112
square
#285C12 #124D5C #46125C #5C2112
split-complementary
#285C12 #21125C #5C124D
monochromatic
#0B1A05 #122908 #285C12 #3E8F1C #55C226
Accessibility & contrast
On white
7.99
#285C12 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#285C12 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #285C12
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##285C12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##285C12 | 1.00 | 7.99 | 2.63 | 7.99 |
| #FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F5304
Deuteranopia (green-blind)
#584F1A
Tritanopia (blue-blind)
#24594E
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #285c12; /* rgb */ color: rgb(40, 92, 18); /* oklch */ color: oklch(42.3% 0.118 138.3);
Tailwind
colors: {
custom: {
50: '#688b56',
500: '#285c12',
950: '#000000',
},
}SCSS
$custom: #285c12; $custom-light: #688b56; $custom-dark: #000000;
JSON
{
"hex": "#285c12",
"rgb": {
"r": 40,
"g": 92,
"b": 18
},
"hsl": {
"h": 102.162,
"s": 67.273,
"l": 21.569
},
"oklch": {
"l": 0.42298,
"c": 0.11772,
"h": 138.3
},
"luminance": 0.08149
}Semantic roles & 50–950 ramp
primary
#285C12
secondary
#783594
accent
#3EEAB7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78