#286C1F#286C1F
#286C1F is a mid, vivid green. Relative luminance 0.113; OKLCH L 47.1% C 0.130 H 141.4°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #286C1F |
|---|---|
| RGB | rgb(40, 108, 31) |
| HSL | hsl(113, 55%, 27%) |
| HSV | hsv(113, 71%, 42%) |
| CMYK | cmyk(63%, 0%, 71.3%, 57.6%) |
| CIE-LAB | lab(40.04, -37.24, 35.35) |
| CIE-LCH | lch(40.04, 51.35, 136.49°) |
| OKLab | oklab(47.07% -0.1017 0.0811) |
| OKLCH | oklch(47.07% 0.13 141.4) |
| XYZ | xyz(6.4846, 11.2746, 3.1305) |
| Luminance | 0.1128 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.16
Darkish Green
#287C37
ΔE00 6.09
Tree Green
#2A7E19
ΔE00 6.57
Deep Green
#02590F
ΔE00 6.60
Forest Green
#2D5A27
ΔE00 7.16
Forest
#0B5509
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286C1F #631F6C
analogous
#4F6C1F #286C1F #1F6C3D
triadic
#286C1F #1F286C #6C1F28
tetradic
#286C1F #1F4F6C #631F6C #6C3D1F
square
#286C1F #1F4F6C #631F6C #6C3D1F
split-complementary
#286C1F #3D1F6C #6C1F4F
monochromatic
#091807 #163C11 #286C1F #3A9C2D #4EC83E
Accessibility & contrast
On white
6.45
#286C1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#286C1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286C1F
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286C1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286C1F | 1.00 | 6.45 | 3.26 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F6214
Deuteranopia (green-blind)
#665C26
Tritanopia (blue-blind)
#1E695C
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #286c1f; /* rgb */ color: rgb(40, 108, 31); /* oklch */ color: oklch(47.1% 0.130 141.4);
Tailwind
colors: {
custom: {
50: '#6b975f',
500: '#286c1f',
950: '#000000',
},
}SCSS
$custom: #286c1f; $custom-light: #6b975f; $custom-dark: #000000;
JSON
{
"hex": "#286c1f",
"rgb": {
"r": 40,
"g": 108,
"b": 31
},
"hsl": {
"h": 112.987,
"s": 55.396,
"l": 27.255
},
"oklch": {
"l": 0.47073,
"c": 0.13009,
"h": 141.4
},
"luminance": 0.11275
}Semantic roles & 50–950 ramp
primary
#286C1F
secondary
#9647A0
accent
#49DFCD
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D05
muted
#7A7E79