#285F12#285F12
#285F12 is a dark, vivid green. Relative luminance 0.087; OKLCH L 43.2% C 0.122 H 138.6°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #285F12 |
|---|---|
| RGB | rgb(40, 95, 18) |
| HSL | hsl(103, 68%, 22%) |
| HSV | hsv(103, 81%, 37%) |
| CMYK | cmyk(57.9%, 0%, 81.1%, 62.7%) |
| CIE-LAB | lab(35.36, -33.08, 35.96) |
| CIE-LCH | lch(35.36, 48.86, 132.61°) |
| OKLab | oklab(43.18% -0.0913 0.0805) |
| OKLCH | oklch(43.18% 0.122 138.6) |
| XYZ | xyz(5.0763, 8.6788, 1.9798) |
| Luminance | 0.0868 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.72
Deep Green
#02590F
ΔE00 3.82
Forest
#0B5509
ΔE00 4.06
Forest Green
#2D5A27
ΔE00 4.83
Navy Green
#35530A
ΔE00 5.41
Bottle Green
#044A05
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#285F12 #49125F
analogous
#4F5F12 #285F12 #125F22
triadic
#285F12 #12285F #5F1228
tetradic
#285F12 #124F5F #49125F #5F2212
square
#285F12 #124F5F #49125F #5F2212
split-complementary
#285F12 #22125F #5F124F
monochromatic
#0B1A05 #122C08 #285F12 #3E921C #53C625
Accessibility & contrast
On white
7.68
#285F12 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#285F12 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #285F12
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##285F12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##285F12 | 1.00 | 7.68 | 2.74 | 7.68 |
| #FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#625603
Deuteranopia (green-blind)
#5B511A
Tritanopia (blue-blind)
#235B50
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #285f12; /* rgb */ color: rgb(40, 95, 18); /* oklch */ color: oklch(43.2% 0.122 138.6);
Tailwind
colors: {
custom: {
50: '#698d56',
500: '#285f12',
950: '#000000',
},
}SCSS
$custom: #285f12; $custom-light: #698d56; $custom-dark: #000000;
JSON
{
"hex": "#285f12",
"rgb": {
"r": 40,
"g": 95,
"b": 18
},
"hsl": {
"h": 102.857,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.43179,
"c": 0.12173,
"h": 138.6
},
"luminance": 0.08679
}Semantic roles & 50–950 ramp
primary
#285F12
secondary
#7B3697
accent
#3DEBB9
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78