#286F24#286F24
#286F24 is a mid, vivid green. Relative luminance 0.119; OKLCH L 48.0% C 0.130 H 142.4°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #286F24 |
|---|---|
| RGB | rgb(40, 111, 36) |
| HSL | hsl(117, 51%, 29%) |
| HSV | hsv(117, 68%, 44%) |
| CMYK | cmyk(64%, 0%, 67.6%, 56.5%) |
| CIE-LAB | lab(41.13, -37.90, 34.24) |
| CIE-LCH | lch(41.13, 51.08, 137.91°) |
| OKLab | oklab(47.99% -0.1032 0.0794) |
| OKLCH | oklch(47.99% 0.13 142.4) |
| XYZ | xyz(6.8776, 11.9467, 3.6122) |
| Luminance | 0.1195 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.94
Darkgreen
#006400
ΔE00 5.07
Tree Green
#2A7E19
ΔE00 5.90
Green
#008000
ΔE00 7.32
Deep Green
#02590F
ΔE00 7.49
Forest Green
#2D5A27
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286F24 #6B246F
analogous
#4E6F24 #286F24 #246F46
triadic
#286F24 #24286F #6F2428
tetradic
#286F24 #244E6F #6B246F #6F4624
square
#286F24 #244E6F #6B246F #6F4624
split-complementary
#286F24 #46246F #6F244E
monochromatic
#081707 #174115 #286F24 #399D33 #50C449
Accessibility & contrast
On white
6.20
#286F24 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#286F24 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286F24
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286F24 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286F24 | 1.00 | 6.20 | 3.39 | 6.20 |
| #FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#72651B
Deuteranopia (green-blind)
#695F2B
Tritanopia (blue-blind)
#1C6C5F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #286f24; /* rgb */ color: rgb(40, 111, 36); /* oklch */ color: oklch(48.0% 0.130 142.4);
Tailwind
colors: {
custom: {
50: '#6b9962',
500: '#286f24',
950: '#000000',
},
}SCSS
$custom: #286f24; $custom-light: #6b9962; $custom-dark: #000000;
JSON
{
"hex": "#286f24",
"rgb": {
"r": 40,
"g": 111,
"b": 36
},
"hsl": {
"h": 116.8,
"s": 51.02,
"l": 28.824
},
"oklch": {
"l": 0.4799,
"c": 0.1302,
"h": 142.4
},
"luminance": 0.11947
}Semantic roles & 50–950 ramp
primary
#286F24
secondary
#9D4DA2
accent
#4DDAD3
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79