#286412#286412
#286412 is a dark, vivid green. Relative luminance 0.096; OKLCH L 44.6% C 0.128 H 139.0°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #286412 |
|---|---|
| RGB | rgb(40, 100, 18) |
| HSL | hsl(104, 69%, 23%) |
| HSV | hsv(104, 82%, 39%) |
| CMYK | cmyk(60%, 0%, 82%, 60.8%) |
| CIE-LAB | lab(37.13, -35.14, 37.67) |
| CIE-LCH | lch(37.13, 51.52, 133.00°) |
| OKLab | oklab(44.64% -0.0968 0.0841) |
| OKLCH | oklch(44.64% 0.128 139) |
| XYZ | xyz(5.5412, 9.6087, 2.1348) |
| Luminance | 0.0961 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.96
Deep Green
#02590F
ΔE00 4.79
Forest
#0B5509
ΔE00 5.37
Forest Green
#2D5A27
ΔE00 5.98
Navy Green
#35530A
ΔE00 6.78
Camouflage Green
#4B6113
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286412 #4E1264
analogous
#516412 #286412 #126425
triadic
#286412 #122864 #641228
tetradic
#286412 #125164 #4E1264 #642512
square
#286412 #125164 #4E1264 #642512
split-complementary
#286412 #251264 #641251
monochromatic
#0A1A05 #133009 #286412 #3D981B #51CC25
Accessibility & contrast
On white
7.19
#286412 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#286412 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #286412
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286412 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286412 | 1.00 | 7.19 | 2.92 | 7.19 |
| #FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#675A00
Deuteranopia (green-blind)
#60551B
Tritanopia (blue-blind)
#226055
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #286412; /* rgb */ color: rgb(40, 100, 18); /* oklch */ color: oklch(44.6% 0.128 139.0);
Tailwind
colors: {
custom: {
50: '#6a9157',
500: '#286412',
950: '#000000',
},
}SCSS
$custom: #286412; $custom-light: #6a9157; $custom-dark: #000000;
JSON
{
"hex": "#286412",
"rgb": {
"r": 40,
"g": 100,
"b": 18
},
"hsl": {
"h": 103.902,
"s": 69.492,
"l": 23.137
},
"oklch": {
"l": 0.44641,
"c": 0.12825,
"h": 139
},
"luminance": 0.09609
}Semantic roles & 50–950 ramp
primary
#286412
secondary
#81369C
accent
#3BECBD
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070D03
muted
#7A7D78