#286F34#286F34
#286F34 is a mid, moderate green. Relative luminance 0.121; OKLCH L 48.2% C 0.116 H 146.7°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #286F34 |
|---|---|
| RGB | rgb(40, 111, 52) |
| HSL | hsl(130, 47%, 30%) |
| HSV | hsv(130, 64%, 44%) |
| CMYK | cmyk(64%, 0%, 53.2%, 56.5%) |
| CIE-LAB | lab(41.32, -35.73, 26.27) |
| CIE-LCH | lch(41.32, 44.35, 143.67°) |
| OKLab | oklab(48.21% -0.0966 0.0635) |
| OKLCH | oklch(48.21% 0.116 146.7) |
| XYZ | xyz(7.1789, 12.0672, 5.1990) |
| Luminance | 0.1207 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.62
Pine
#2B5D34
ΔE00 6.83
Jungle Green
#048243
ΔE00 6.91
Forest Green
#2D5A27
ΔE00 7.21
Darkgreen
#006400
ΔE00 7.29
Spruce
#0A5F38
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286F34 #6F2863
analogous
#406F28 #286F34 #286F58
triadic
#286F34 #34286F #6F3428
tetradic
#286F34 #28406F #6F2863 #6F5828
square
#286F34 #28406F #6F2863 #6F5828
split-complementary
#286F34 #58286F #6F2840
monochromatic
#08160B #18421F #286F34 #389C49 #51C064
Accessibility & contrast
On white
6.15
#286F34 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#286F34 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286F34
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286F34 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286F34 | 1.00 | 6.15 | 3.41 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#70652F
Deuteranopia (green-blind)
#675F38
Tritanopia (blue-blind)
#176C61
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #286f34; /* rgb */ color: rgb(40, 111, 52); /* oklch */ color: oklch(48.2% 0.116 146.7);
Tailwind
colors: {
custom: {
50: '#6a996d',
500: '#286f34',
950: '#000000',
},
}SCSS
$custom: #286f34; $custom-light: #6a996d; $custom-dark: #000000;
JSON
{
"hex": "#286f34",
"rgb": {
"r": 40,
"g": 111,
"b": 52
},
"hsl": {
"h": 130.141,
"s": 47.02,
"l": 29.608
},
"oklch": {
"l": 0.4821,
"c": 0.1156,
"h": 146.7
},
"luminance": 0.12068
}Semantic roles & 50–950 ramp
primary
#286F34
secondary
#A15194
accent
#51C0D7
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E07
muted
#7A7E7A