#286F15#286F15
#286F15 is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.9% C 0.141 H 140.1°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #286F15 |
|---|---|
| RGB | rgb(40, 111, 21) |
| HSL | hsl(107, 68%, 26%) |
| HSV | hsv(107, 81%, 44%) |
| CMYK | cmyk(64%, 0%, 81.1%, 56.5%) |
| CIE-LAB | lab(41.01, -39.26, 40.35) |
| CIE-LCH | lch(41.01, 56.30, 134.21°) |
| OKLab | oklab(47.86% -0.1078 0.0902) |
| OKLCH | oklch(47.86% 0.141 140.1) |
| XYZ | xyz(6.6946, 11.8735, 2.6483) |
| Luminance | 0.1187 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.38
Tree Green
#2A7E19
ΔE00 5.18
Darkish Green
#287C37
ΔE00 6.25
Green
#008000
ΔE00 6.34
Dark Grass Green
#388004
ΔE00 6.77
Deep Green
#02590F
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286F15 #5C156F
analogous
#556F15 #286F15 #156F2F
triadic
#286F15 #15286F #6F1528
tetradic
#286F15 #15556F #5C156F #6F2F15
square
#286F15 #15556F #5C156F #6F2F15
split-complementary
#286F15 #2F156F #6F1555
monochromatic
#091A05 #153C0B #286F15 #3BA21F #4DD628
Accessibility & contrast
On white
6.22
#286F15 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#286F15 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286F15
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286F15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286F15 | 1.00 | 6.22 | 3.37 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726401
Deuteranopia (green-blind)
#6A5F1F
Tritanopia (blue-blind)
#1E6B5E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #286f15; /* rgb */ color: rgb(40, 111, 21); /* oklch */ color: oklch(47.9% 0.141 140.1);
Tailwind
colors: {
custom: {
50: '#6c995a',
500: '#286f15',
950: '#000000',
},
}SCSS
$custom: #286f15; $custom-light: #6c995a; $custom-dark: #000000;
JSON
{
"hex": "#286f15",
"rgb": {
"r": 40,
"g": 111,
"b": 21
},
"hsl": {
"h": 107.333,
"s": 68.182,
"l": 25.882
},
"oklch": {
"l": 0.47856,
"c": 0.1405,
"h": 140.1
},
"luminance": 0.11874
}Semantic roles & 50–950 ramp
primary
#286F15
secondary
#8F3AA5
accent
#3DEBC6
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79