#286339#286339
#286339 is a dark, moderate green. Relative luminance 0.097; OKLCH L 44.9% C 0.092 H 150.5°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #286339 |
|---|---|
| RGB | rgb(40, 99, 57) |
| HSL | hsl(137, 42%, 27%) |
| HSV | hsv(137, 60%, 39%) |
| CMYK | cmyk(59.6%, 0%, 42.4%, 61.2%) |
| CIE-LAB | lab(37.24, -29.58, 18.24) |
| CIE-LCH | lch(37.24, 34.76, 148.34°) |
| OKLab | oklab(44.88% -0.0801 0.0453) |
| OKLCH | oklch(44.88% 0.092 150.5) |
| XYZ | xyz(6.0750, 9.6697, 5.4164) |
| Luminance | 0.0967 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 2.18
Spruce
#0A5F38
ΔE00 3.11
Hunter Green
#355E3B
ΔE00 3.29
Forest Green
#2D5A27
ΔE00 4.69
Deep Green
#02590F
ΔE00 7.87
Forest
#0B5509
ΔE00 8.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286339 #632852
analogous
#356328 #286339 #286357
triadic
#286339 #392863 #633928
tetradic
#286339 #283563 #632852 #635728
square
#286339 #283563 #632852 #635728
split-complementary
#286339 #572863 #632835
monochromatic
#09160D #163720 #286339 #3A8F52 #4EB76C
Accessibility & contrast
On white
7.16
#286339 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#286339 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #286339
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286339 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286339 | 1.00 | 7.16 | 2.93 | 7.16 |
| #FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#645B36
Deuteranopia (green-blind)
#5C553C
Tritanopia (blue-blind)
#196159
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #286339; /* rgb */ color: rgb(40, 99, 57); /* oklch */ color: oklch(44.9% 0.092 150.5);
Tailwind
colors: {
custom: {
50: '#689070',
500: '#286339',
950: '#000000',
},
}SCSS
$custom: #286339; $custom-light: #689070; $custom-dark: #000000;
JSON
{
"hex": "#286339",
"rgb": {
"r": 40,
"g": 99,
"b": 57
},
"hsl": {
"h": 137.288,
"s": 42.446,
"l": 27.255
},
"oklch": {
"l": 0.44883,
"c": 0.09206,
"h": 150.5
},
"luminance": 0.0967
}Semantic roles & 50–950 ramp
primary
#286339
secondary
#965182
accent
#56AED2
background
#F6F8F6
surface
#EBF0EC
border
#C6CBC7
text
#060C07
muted
#7A7D7A