#286F38#286F38
#286F38 is a mid, moderate green. Relative luminance 0.121; OKLCH L 48.3% C 0.112 H 148.1°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #286F38 |
|---|---|
| RGB | rgb(40, 111, 56) |
| HSL | hsl(134, 47%, 30%) |
| HSV | hsv(134, 64%, 44%) |
| CMYK | cmyk(64%, 0%, 49.5%, 56.5%) |
| CIE-LAB | lab(41.38, -35.07, 24.14) |
| CIE-LCH | lch(41.38, 42.57, 145.45°) |
| OKLab | oklab(48.28% -0.0947 0.0589) |
| OKLCH | oklch(48.28% 0.112 148.1) |
| XYZ | xyz(7.2728, 12.1048, 5.6938) |
| Luminance | 0.1211 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.94
Pine
#2B5D34
ΔE00 6.49
Spruce
#0A5F38
ΔE00 6.76
Jungle Green
#048243
ΔE00 6.83
Forest Green
#2D5A27
ΔE00 7.28
Hunter Green
#355E3B
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286F38 #6F285F
analogous
#3C6F28 #286F38 #286F5C
triadic
#286F38 #38286F #6F3828
tetradic
#286F38 #283C6F #6F285F #6F5C28
square
#286F38 #283C6F #6F285F #6F5C28
split-complementary
#286F38 #5C286F #6F283C
monochromatic
#08160B #184221 #286F38 #389C4F #51C06A
Accessibility & contrast
On white
6.14
#286F38 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#286F38 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286F38
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286F38 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286F38 | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#706534
Deuteranopia (green-blind)
#675F3C
Tritanopia (blue-blind)
#156D62
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #286f38; /* rgb */ color: rgb(40, 111, 56); /* oklch */ color: oklch(48.3% 0.112 148.1);
Tailwind
colors: {
custom: {
50: '#6a996f',
500: '#286f38',
950: '#000000',
},
}SCSS
$custom: #286f38; $custom-light: #6a996f; $custom-dark: #000000;
JSON
{
"hex": "#286f38",
"rgb": {
"r": 40,
"g": 111,
"b": 56
},
"hsl": {
"h": 133.521,
"s": 47.02,
"l": 29.608
},
"oklch": {
"l": 0.48278,
"c": 0.11157,
"h": 148.1
},
"luminance": 0.12106
}Semantic roles & 50–950 ramp
primary
#286F38
secondary
#A1518F
accent
#51B9D7
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#070E07
muted
#7A7E7A