#286712#286712
#286712 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.5% C 0.132 H 139.3°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #286712 |
|---|---|
| RGB | rgb(40, 103, 18) |
| HSL | hsl(104, 70%, 24%) |
| HSV | hsv(104, 83%, 40%) |
| CMYK | cmyk(61.2%, 0%, 82.5%, 59.6%) |
| CIE-LAB | lab(38.19, -36.34, 38.69) |
| CIE-LCH | lch(38.19, 53.08, 133.21°) |
| OKLab | oklab(45.52% -0.1001 0.0862) |
| OKLCH | oklch(45.52% 0.132 139.3) |
| XYZ | xyz(5.8343, 10.1948, 2.2325) |
| Luminance | 0.1019 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.94
Deep Green
#02590F
ΔE00 5.55
Forest
#0B5509
ΔE00 6.25
Forest Green
#2D5A27
ΔE00 6.77
Camouflage Green
#4B6113
ΔE00 7.59
Navy Green
#35530A
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286712 #511267
analogous
#526712 #286712 #126726
triadic
#286712 #122867 #671228
tetradic
#286712 #125267 #511267 #672612
square
#286712 #125267 #511267 #672612
split-complementary
#286712 #261267 #671252
monochromatic
#0A1A05 #143309 #286712 #3C9B1B #50CF24
Accessibility & contrast
On white
6.91
#286712 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#286712 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286712
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286712 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286712 | 1.00 | 6.91 | 3.04 | 6.91 |
| #FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#62581C
Tritanopia (blue-blind)
#216357
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #286712; /* rgb */ color: rgb(40, 103, 18); /* oklch */ color: oklch(45.5% 0.132 139.3);
Tailwind
colors: {
custom: {
50: '#6b9358',
500: '#286712',
950: '#000000',
},
}SCSS
$custom: #286712; $custom-light: #6b9358; $custom-dark: #000000;
JSON
{
"hex": "#286712",
"rgb": {
"r": 40,
"g": 103,
"b": 18
},
"hsl": {
"h": 104.471,
"s": 70.248,
"l": 23.725
},
"oklch": {
"l": 0.45516,
"c": 0.13209,
"h": 139.3
},
"luminance": 0.10195
}Semantic roles & 50–950 ramp
primary
#286712
secondary
#84369F
accent
#3BEDBF
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D03
muted
#7A7E78