#286229#286229
#286229 is a dark, moderate green. Relative luminance 0.093; OKLCH L 44.3% C 0.107 H 143.8°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #286229 |
|---|---|
| RGB | rgb(40, 98, 41) |
| HSL | hsl(121, 42%, 27%) |
| HSV | hsv(121, 59%, 38%) |
| CMYK | cmyk(59.2%, 0%, 58.2%, 61.6%) |
| CIE-LAB | lab(36.64, -31.85, 26.55) |
| CIE-LCH | lch(36.64, 41.47, 140.19°) |
| OKLab | oklab(44.31% -0.0865 0.0633) |
| OKLCH | oklch(44.31% 0.107 143.8) |
| XYZ | xyz(5.6427, 9.3461, 3.6040) |
| Luminance | 0.0935 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.99
Pine
#2B5D34
ΔE00 4.00
Deep Green
#02590F
ΔE00 4.84
Forest
#0B5509
ΔE00 5.69
Hunter Green
#355E3B
ΔE00 5.71
Spruce
#0A5F38
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286229 #622861
analogous
#446228 #286229 #286246
triadic
#286229 #292862 #622928
tetradic
#286229 #284462 #622861 #624628
square
#286229 #284462 #622861 #624628
split-complementary
#286229 #462862 #622844
monochromatic
#091609 #163717 #286229 #3A8D3B #4EB750
Accessibility & contrast
On white
7.32
#286229 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#286229 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #286229
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286229 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286229 | 1.00 | 7.32 | 2.87 | 7.32 |
| #FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#645924
Deuteranopia (green-blind)
#5C542D
Tritanopia (blue-blind)
#1E5F55
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #286229; /* rgb */ color: rgb(40, 98, 41); /* oklch */ color: oklch(44.3% 0.107 143.8);
Tailwind
colors: {
custom: {
50: '#688f64',
500: '#286229',
950: '#000000',
},
}SCSS
$custom: #286229; $custom-light: #688f64; $custom-dark: #000000;
JSON
{
"hex": "#286229",
"rgb": {
"r": 40,
"g": 98,
"b": 41
},
"hsl": {
"h": 121.034,
"s": 42.029,
"l": 27.059
},
"oklch": {
"l": 0.44308,
"c": 0.10724,
"h": 143.8
},
"luminance": 0.09347
}Semantic roles & 50–950 ramp
primary
#286229
secondary
#955194
accent
#56D0D2
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C05
muted
#7A7D7A