#286F12#286F12
#286F12 is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.8% C 0.142 H 139.8°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #286F12 |
|---|---|
| RGB | rgb(40, 111, 18) |
| HSL | hsl(106, 72%, 25%) |
| HSV | hsv(106, 84%, 44%) |
| CMYK | cmyk(64%, 0%, 83.8%, 56.5%) |
| CIE-LAB | lab(41.00, -39.46, 41.35) |
| CIE-LCH | lch(41.00, 57.15, 133.66°) |
| OKLab | oklab(47.84% -0.1085 0.0918) |
| OKLCH | oklch(47.84% 0.142 139.8) |
| XYZ | xyz(6.6684, 11.8630, 2.5105) |
| Luminance | 0.1186 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.37
Tree Green
#2A7E19
ΔE00 5.15
Green
#008000
ΔE00 6.25
Darkish Green
#287C37
ΔE00 6.50
Dark Grass Green
#388004
ΔE00 6.63
Deep Green
#02590F
ΔE00 7.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286F12 #59126F
analogous
#576F12 #286F12 #126F2A
triadic
#286F12 #12286F #6F1228
tetradic
#286F12 #12576F #59126F #6F2A12
square
#286F12 #12576F #59126F #6F2A12
split-complementary
#286F12 #2A126F #6F1257
monochromatic
#091A04 #153A09 #286F12 #3BA41B #4ED823
Accessibility & contrast
On white
6.23
#286F12 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#286F12 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286F12
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286F12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286F12 | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#6A5E1D
Tritanopia (blue-blind)
#1F6B5E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #286f12; /* rgb */ color: rgb(40, 111, 18); /* oklch */ color: oklch(47.8% 0.142 139.8);
Tailwind
colors: {
custom: {
50: '#6c9959',
500: '#286f12',
950: '#000000',
},
}SCSS
$custom: #286f12; $custom-light: #6c9959; $custom-dark: #000000;
JSON
{
"hex": "#286f12",
"rgb": {
"r": 40,
"g": 111,
"b": 18
},
"hsl": {
"h": 105.806,
"s": 72.093,
"l": 25.294
},
"oklch": {
"l": 0.47837,
"c": 0.14208,
"h": 139.8
},
"luminance": 0.11864
}Semantic roles & 50–950 ramp
primary
#286F12
secondary
#8C37A6
accent
#39EFC4
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79