#286239#286239
#286239 is a dark, moderate green. Relative luminance 0.095; OKLCH L 44.6% C 0.090 H 150.7°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #286239 |
|---|---|
| RGB | rgb(40, 98, 57) |
| HSL | hsl(138, 42%, 27%) |
| HSV | hsv(138, 59%, 38%) |
| CMYK | cmyk(59.2%, 0%, 41.8%, 61.6%) |
| CIE-LAB | lab(36.90, -29.12, 17.79) |
| CIE-LCH | lch(36.90, 34.12, 148.59°) |
| OKLab | oklab(44.6% -0.0789 0.0442) |
| OKLCH | oklch(44.6% 0.09 150.7) |
| XYZ | xyz(5.9808, 9.4814, 5.3850) |
| Luminance | 0.0948 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 1.90
Spruce
#0A5F38
ΔE00 2.96
Hunter Green
#355E3B
ΔE00 3.02
Forest Green
#2D5A27
ΔE00 4.62
Deep Green
#02590F
ΔE00 7.94
Pine Green
#0A481E
ΔE00 8.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286239 #622851
analogous
#346228 #286239 #286256
triadic
#286239 #392862 #623928
tetradic
#286239 #283462 #622851 #625628
square
#286239 #283462 #622851 #625628
split-complementary
#286239 #562862 #622834
monochromatic
#09160D #163720 #286239 #3A8D52 #4EB76C
Accessibility & contrast
On white
7.25
#286239 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#286239 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #286239
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286239 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286239 | 1.00 | 7.25 | 2.90 | 7.25 |
| #FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#625A36
Deuteranopia (green-blind)
#5B553C
Tritanopia (blue-blind)
#196058
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #286239; /* rgb */ color: rgb(40, 98, 57); /* oklch */ color: oklch(44.6% 0.090 150.7);
Tailwind
colors: {
custom: {
50: '#688f70',
500: '#286239',
950: '#000000',
},
}SCSS
$custom: #286239; $custom-light: #688f70; $custom-dark: #000000;
JSON
{
"hex": "#286239",
"rgb": {
"r": 40,
"g": 98,
"b": 57
},
"hsl": {
"h": 137.586,
"s": 42.029,
"l": 27.059
},
"oklch": {
"l": 0.44598,
"c": 0.09047,
"h": 150.7
},
"luminance": 0.09482
}Semantic roles & 50–950 ramp
primary
#286239
secondary
#955181
accent
#56AED2
background
#F6F8F6
surface
#EBF0EC
border
#C6CBC7
text
#060C07
muted
#7A7D7A