#286F19#286F19
#286F19 is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.9% C 0.138 H 140.6°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #286F19 |
|---|---|
| RGB | rgb(40, 111, 25) |
| HSL | hsl(110, 63%, 27%) |
| HSV | hsv(110, 77%, 44%) |
| CMYK | cmyk(64%, 0%, 77.5%, 56.5%) |
| CIE-LAB | lab(41.04, -38.96, 38.90) |
| CIE-LCH | lch(41.04, 55.05, 135.05°) |
| OKLab | oklab(47.89% -0.1067 0.0877) |
| OKLCH | oklch(47.89% 0.138 140.6) |
| XYZ | xyz(6.7347, 11.8896, 2.8595) |
| Luminance | 0.1189 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.44
Tree Green
#2A7E19
ΔE00 5.27
Darkish Green
#287C37
ΔE00 5.89
Green
#008000
ΔE00 6.51
Dark Grass Green
#388004
ΔE00 7.02
Deep Green
#02590F
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286F19 #60196F
analogous
#536F19 #286F19 #196F35
triadic
#286F19 #19286F #6F1928
tetradic
#286F19 #19536F #60196F #6F3519
square
#286F19 #19536F #60196F #6F3519
split-complementary
#286F19 #35196F #6F1953
monochromatic
#091906 #163D0E #286F19 #3AA124 #4DD132
Accessibility & contrast
On white
6.22
#286F19 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#286F19 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286F19
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286F19 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286F19 | 1.00 | 6.22 | 3.38 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726408
Deuteranopia (green-blind)
#695F22
Tritanopia (blue-blind)
#1E6B5E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #286f19; /* rgb */ color: rgb(40, 111, 25); /* oklch */ color: oklch(47.9% 0.138 140.6);
Tailwind
colors: {
custom: {
50: '#6c995c',
500: '#286f19',
950: '#000000',
},
}SCSS
$custom: #286f19; $custom-light: #6c995c; $custom-dark: #000000;
JSON
{
"hex": "#286f19",
"rgb": {
"r": 40,
"g": 111,
"b": 25
},
"hsl": {
"h": 109.535,
"s": 63.235,
"l": 26.667
},
"oklch": {
"l": 0.47886,
"c": 0.13814,
"h": 140.6
},
"luminance": 0.1189
}Semantic roles & 50–950 ramp
primary
#286F19
secondary
#933FA4
accent
#42E6CA
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79