#286331#286331
#286331 is a dark, moderate green. Relative luminance 0.096; OKLCH L 44.7% C 0.101 H 146.7°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #286331 |
|---|---|
| RGB | rgb(40, 99, 49) |
| HSL | hsl(129, 42%, 27%) |
| HSV | hsv(129, 60%, 39%) |
| CMYK | cmyk(59.6%, 0%, 50.5%, 61.2%) |
| CIE-LAB | lab(37.11, -31.04, 22.69) |
| CIE-LCH | lch(37.11, 38.45, 143.83°) |
| OKLab | oklab(44.73% -0.0841 0.0553) |
| OKLCH | oklch(44.73% 0.101 146.7) |
| XYZ | xyz(5.8909, 9.5960, 4.4469) |
| Luminance | 0.0960 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 2.82
Forest Green
#2D5A27
ΔE00 3.50
Spruce
#0A5F38
ΔE00 4.43
Hunter Green
#355E3B
ΔE00 4.47
Deep Green
#02590F
ΔE00 6.16
Forest
#0B5509
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286331 #63285A
analogous
#3C6328 #286331 #28634F
triadic
#286331 #312863 #633128
tetradic
#286331 #283C63 #63285A #634F28
square
#286331 #283C63 #63285A #634F28
split-complementary
#286331 #4F2863 #63283C
monochromatic
#09160B #16371B #286331 #3A8F47 #4EB75E
Accessibility & contrast
On white
7.19
#286331 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#286331 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #286331
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286331 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286331 | 1.00 | 7.19 | 2.92 | 7.19 |
| #FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#645B2D
Deuteranopia (green-blind)
#5C5534
Tritanopia (blue-blind)
#1C6157
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #286331; /* rgb */ color: rgb(40, 99, 49); /* oklch */ color: oklch(44.7% 0.101 146.7);
Tailwind
colors: {
custom: {
50: '#68906a',
500: '#286331',
950: '#000000',
},
}SCSS
$custom: #286331; $custom-light: #68906a; $custom-dark: #000000;
JSON
{
"hex": "#286331",
"rgb": {
"r": 40,
"g": 99,
"b": 49
},
"hsl": {
"h": 129.153,
"s": 42.446,
"l": 27.255
},
"oklch": {
"l": 0.44728,
"c": 0.1006,
"h": 146.7
},
"luminance": 0.09597
}Semantic roles & 50–950 ramp
primary
#286331
secondary
#96518B
accent
#56BFD2
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A