#286334#286334
#286334 is a dark, moderate green. Relative luminance 0.096; OKLCH L 44.8% C 0.097 H 148.0°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #286334 |
|---|---|
| RGB | rgb(40, 99, 52) |
| HSL | hsl(132, 42%, 27%) |
| HSV | hsv(132, 60%, 39%) |
| CMYK | cmyk(59.6%, 0%, 47.5%, 61.2%) |
| CIE-LAB | lab(37.16, -30.52, 21.04) |
| CIE-LCH | lch(37.16, 37.07, 145.42°) |
| OKLab | oklab(44.78% -0.0826 0.0516) |
| OKLCH | oklch(44.78% 0.097 148) |
| XYZ | xyz(5.9564, 9.6222, 4.7915) |
| Luminance | 0.0962 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 2.40
Forest Green
#2D5A27
ΔE00 3.84
Spruce
#0A5F38
ΔE00 3.86
Hunter Green
#355E3B
ΔE00 3.96
Deep Green
#02590F
ΔE00 6.75
Forest
#0B5509
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286334 #632857
analogous
#3A6328 #286334 #286351
triadic
#286334 #342863 #633428
tetradic
#286334 #283A63 #632857 #635128
square
#286334 #283A63 #632857 #635128
split-complementary
#286334 #512863 #63283A
monochromatic
#09160B #16371D #286334 #3A8F4B #4EB763
Accessibility & contrast
On white
7.18
#286334 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#286334 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #286334
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286334 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286334 | 1.00 | 7.18 | 2.92 | 7.18 |
| #FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#645B30
Deuteranopia (green-blind)
#5C5537
Tritanopia (blue-blind)
#1B6158
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #286334; /* rgb */ color: rgb(40, 99, 52); /* oklch */ color: oklch(44.8% 0.097 148.0);
Tailwind
colors: {
custom: {
50: '#68906c',
500: '#286334',
950: '#000000',
},
}SCSS
$custom: #286334; $custom-light: #68906c; $custom-dark: #000000;
JSON
{
"hex": "#286334",
"rgb": {
"r": 40,
"g": 99,
"b": 52
},
"hsl": {
"h": 132.203,
"s": 42.446,
"l": 27.255
},
"oklch": {
"l": 0.44783,
"c": 0.09743,
"h": 148
},
"luminance": 0.09623
}Semantic roles & 50–950 ramp
primary
#286334
secondary
#965188
accent
#56B9D2
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C07
muted
#7A7D7A