#286912#286912
#286912 is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.1% C 0.135 H 139.4°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #286912 |
|---|---|
| RGB | rgb(40, 105, 18) |
| HSL | hsl(105, 71%, 24%) |
| HSV | hsv(105, 83%, 41%) |
| CMYK | cmyk(61.9%, 0%, 82.9%, 58.8%) |
| CIE-LAB | lab(38.89, -37.13, 39.36) |
| CIE-LCH | lch(38.89, 54.11, 133.33°) |
| OKLab | oklab(46.1% -0.1022 0.0876) |
| OKLCH | oklch(46.1% 0.135 139.4) |
| XYZ | xyz(6.0356, 10.5974, 2.2996) |
| Luminance | 0.1060 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.13
Deep Green
#02590F
ΔE00 6.11
Forest
#0B5509
ΔE00 6.87
Tree Green
#2A7E19
ΔE00 7.17
Forest Green
#2D5A27
ΔE00 7.33
Darkish Green
#287C37
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286912 #531269
analogous
#546912 #286912 #126928
triadic
#286912 #122869 #691228
tetradic
#286912 #125469 #531269 #692812
square
#286912 #125469 #531269 #692812
split-complementary
#286912 #281269 #691254
monochromatic
#0A1A04 #143509 #286912 #3C9D1B #50D124
Accessibility & contrast
On white
6.73
#286912 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#286912 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286912
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286912 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286912 | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C5F00
Deuteranopia (green-blind)
#645A1C
Tritanopia (blue-blind)
#206559
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #286912; /* rgb */ color: rgb(40, 105, 18); /* oklch */ color: oklch(46.1% 0.135 139.4);
Tailwind
colors: {
custom: {
50: '#6b9458',
500: '#286912',
950: '#000000',
},
}SCSS
$custom: #286912; $custom-light: #6b9458; $custom-dark: #000000;
JSON
{
"hex": "#286912",
"rgb": {
"r": 40,
"g": 105,
"b": 18
},
"hsl": {
"h": 104.828,
"s": 70.732,
"l": 24.118
},
"oklch": {
"l": 0.46097,
"c": 0.13463,
"h": 139.4
},
"luminance": 0.10598
}Semantic roles & 50–950 ramp
primary
#286912
secondary
#8636A1
accent
#3AEDC0
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79