#286338#286338
#286338 is a dark, moderate green. Relative luminance 0.097; OKLCH L 44.9% C 0.093 H 150.0°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #286338 |
|---|---|
| RGB | rgb(40, 99, 56) |
| HSL | hsl(136, 42%, 27%) |
| HSV | hsv(136, 60%, 39%) |
| CMYK | cmyk(59.6%, 0%, 43.4%, 61.2%) |
| CIE-LAB | lab(37.22, -29.78, 18.81) |
| CIE-LCH | lch(37.22, 35.22, 147.73°) |
| OKLab | oklab(44.86% -0.0806 0.0466) |
| OKLCH | oklch(44.86% 0.093 150) |
| XYZ | xyz(6.0503, 9.6598, 5.2863) |
| Luminance | 0.0966 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 2.15
Spruce
#0A5F38
ΔE00 3.23
Hunter Green
#355E3B
ΔE00 3.40
Forest Green
#2D5A27
ΔE00 4.49
Deep Green
#02590F
ΔE00 7.64
Forest
#0B5509
ΔE00 8.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286338 #632853
analogous
#366328 #286338 #286356
triadic
#286338 #382863 #633828
tetradic
#286338 #283663 #632853 #635628
square
#286338 #283663 #632853 #635628
split-complementary
#286338 #562863 #632836
monochromatic
#09160C #16371F #286338 #3A8F51 #4EB76B
Accessibility & contrast
On white
7.16
#286338 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#286338 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #286338
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286338 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286338 | 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)
#645B35
Deuteranopia (green-blind)
#5C553B
Tritanopia (blue-blind)
#196158
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #286338; /* rgb */ color: rgb(40, 99, 56); /* oklch */ color: oklch(44.9% 0.093 150.0);
Tailwind
colors: {
custom: {
50: '#68906f',
500: '#286338',
950: '#000000',
},
}SCSS
$custom: #286338; $custom-light: #68906f; $custom-dark: #000000;
JSON
{
"hex": "#286338",
"rgb": {
"r": 40,
"g": 99,
"b": 56
},
"hsl": {
"h": 136.271,
"s": 42.446,
"l": 27.255
},
"oklch": {
"l": 0.44862,
"c": 0.09314,
"h": 150
},
"luminance": 0.0966
}Semantic roles & 50–950 ramp
primary
#286338
secondary
#965183
accent
#56B0D2
background
#F6F8F6
surface
#EBF0EC
border
#C6CBC7
text
#060C07
muted
#7A7D7A