#286F1F#286F1F
#286F1F is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.9% C 0.134 H 141.5°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #286F1F |
|---|---|
| RGB | rgb(40, 111, 31) |
| HSL | hsl(113, 56%, 28%) |
| HSV | hsv(113, 72%, 44%) |
| CMYK | cmyk(64%, 0%, 72.1%, 56.5%) |
| CIE-LAB | lab(41.09, -38.43, 36.46) |
| CIE-LCH | lch(41.09, 52.97, 136.50°) |
| OKLab | oklab(47.94% -0.1049 0.0835) |
| OKLCH | oklch(47.94% 0.134 141.5) |
| XYZ | xyz(6.8065, 11.9183, 3.2378) |
| Luminance | 0.1192 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.70
Darkish Green
#287C37
ΔE00 5.35
Tree Green
#2A7E19
ΔE00 5.53
Green
#008000
ΔE00 6.88
Dark Grass Green
#388004
ΔE00 7.51
Deep Green
#02590F
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286F1F #661F6F
analogous
#506F1F #286F1F #1F6F3E
triadic
#286F1F #1F286F #6F1F28
tetradic
#286F1F #1F506F #661F6F #6F3E1F
square
#286F1F #1F506F #661F6F #6F3E1F
split-complementary
#286F1F #3E1F6F #6F1F50
monochromatic
#091807 #173F12 #286F1F #399F2C #4FC93F
Accessibility & contrast
On white
6.21
#286F1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#286F1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286F1F
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286F1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286F1F | 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)
#726413
Deuteranopia (green-blind)
#695F27
Tritanopia (blue-blind)
#1D6B5F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #286f1f; /* rgb */ color: rgb(40, 111, 31); /* oklch */ color: oklch(47.9% 0.134 141.5);
Tailwind
colors: {
custom: {
50: '#6b995f',
500: '#286f1f',
950: '#000000',
},
}SCSS
$custom: #286f1f; $custom-light: #6b995f; $custom-dark: #000000;
JSON
{
"hex": "#286f1f",
"rgb": {
"r": 40,
"g": 111,
"b": 31
},
"hsl": {
"h": 113.25,
"s": 56.338,
"l": 27.843
},
"oklch": {
"l": 0.47938,
"c": 0.13406,
"h": 141.5
},
"luminance": 0.11919
}Semantic roles & 50–950 ramp
primary
#286F1F
secondary
#9947A3
accent
#48E0CF
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79