#286F1C#286F1C
#286F1C is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.9% C 0.136 H 141.0°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #286F1C |
|---|---|
| RGB | rgb(40, 111, 28) |
| HSL | hsl(111, 60%, 27%) |
| HSV | hsv(111, 75%, 44%) |
| CMYK | cmyk(64%, 0%, 74.8%, 56.5%) |
| CIE-LAB | lab(41.06, -38.71, 37.71) |
| CIE-LCH | lch(41.06, 54.04, 135.74°) |
| OKLab | oklab(47.91% -0.1058 0.0857) |
| OKLCH | oklch(47.91% 0.136 141) |
| XYZ | xyz(6.7688, 11.9032, 3.0392) |
| Luminance | 0.1190 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.54
Tree Green
#2A7E19
ΔE00 5.38
Darkish Green
#287C37
ΔE00 5.62
Green
#008000
ΔE00 6.68
Dark Grass Green
#388004
ΔE00 7.25
Deep Green
#02590F
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286F1C #631C6F
analogous
#526F1C #286F1C #1C6F39
triadic
#286F1C #1C286F #6F1C28
tetradic
#286F1C #1C526F #631C6F #6F391C
square
#286F1C #1C526F #631C6F #6F391C
split-complementary
#286F1C #391C6F #6F1C52
monochromatic
#091806 #163E10 #286F1C #3AA028 #4ECD38
Accessibility & contrast
On white
6.21
#286F1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#286F1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286F1C
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286F1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286F1C | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#72640E
Deuteranopia (green-blind)
#695F24
Tritanopia (blue-blind)
#1D6B5F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #286f1c; /* rgb */ color: rgb(40, 111, 28); /* oklch */ color: oklch(47.9% 0.136 141.0);
Tailwind
colors: {
custom: {
50: '#6c995e',
500: '#286f1c',
950: '#000000',
},
}SCSS
$custom: #286f1c; $custom-light: #6c995e; $custom-dark: #000000;
JSON
{
"hex": "#286f1c",
"rgb": {
"r": 40,
"g": 111,
"b": 28
},
"hsl": {
"h": 111.325,
"s": 59.712,
"l": 27.255
},
"oklch": {
"l": 0.47911,
"c": 0.13618,
"h": 141
},
"luminance": 0.11904
}Semantic roles & 50–950 ramp
primary
#286F1C
secondary
#9643A4
accent
#45E3CC
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79