#286336#286336
#286336 is a dark, moderate green. Relative luminance 0.096; OKLCH L 44.8% C 0.095 H 149.0°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #286336 |
|---|---|
| RGB | rgb(40, 99, 54) |
| HSL | hsl(134, 42%, 27%) |
| HSV | hsv(134, 60%, 39%) |
| CMYK | cmyk(59.6%, 0%, 45.5%, 61.2%) |
| CIE-LAB | lab(37.19, -30.15, 19.93) |
| CIE-LCH | lch(37.19, 36.14, 146.54°) |
| OKLab | oklab(44.82% -0.0816 0.0491) |
| OKLCH | oklch(44.82% 0.095 149) |
| XYZ | xyz(6.0024, 9.6406, 5.0338) |
| Luminance | 0.0964 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 2.22
Spruce
#0A5F38
ΔE00 3.52
Hunter Green
#355E3B
ΔE00 3.65
Forest Green
#2D5A27
ΔE00 4.14
Deep Green
#02590F
ΔE00 7.18
Forest
#0B5509
ΔE00 8.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286336 #632855
analogous
#386328 #286336 #286354
triadic
#286336 #362863 #633628
tetradic
#286336 #283863 #632855 #635428
square
#286336 #283863 #632855 #635428
split-complementary
#286336 #542863 #632838
monochromatic
#09160C #16371E #286336 #3A8F4E #4EB767
Accessibility & contrast
On white
7.17
#286336 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#286336 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #286336
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286336 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286336 | 1.00 | 7.17 | 2.93 | 7.17 |
| #FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#645B33
Deuteranopia (green-blind)
#5C5539
Tritanopia (blue-blind)
#1A6158
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #286336; /* rgb */ color: rgb(40, 99, 54); /* oklch */ color: oklch(44.8% 0.095 149.0);
Tailwind
colors: {
custom: {
50: '#68906d',
500: '#286336',
950: '#000000',
},
}SCSS
$custom: #286336; $custom-light: #68906d; $custom-dark: #000000;
JSON
{
"hex": "#286336",
"rgb": {
"r": 40,
"g": 99,
"b": 54
},
"hsl": {
"h": 134.237,
"s": 42.446,
"l": 27.255
},
"oklch": {
"l": 0.44822,
"c": 0.09529,
"h": 149
},
"luminance": 0.09641
}Semantic roles & 50–950 ramp
primary
#286336
secondary
#965185
accent
#56B5D2
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C07
muted
#7A7D7A