#286F22#286F22
#286F22 is a mid, vivid green. Relative luminance 0.119; OKLCH L 48.0% C 0.132 H 142.0°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #286F22 |
|---|---|
| RGB | rgb(40, 111, 34) |
| HSL | hsl(115, 53%, 28%) |
| HSV | hsv(115, 69%, 44%) |
| CMYK | cmyk(64%, 0%, 69.4%, 56.5%) |
| CIE-LAB | lab(41.11, -38.12, 35.15) |
| CIE-LCH | lch(41.11, 51.85, 137.32°) |
| OKLab | oklab(47.97% -0.1039 0.0811) |
| OKLCH | oklch(47.97% 0.132 142) |
| XYZ | xyz(6.8479, 11.9348, 3.4558) |
| Luminance | 0.1193 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.90
Darkish Green
#287C37
ΔE00 5.10
Tree Green
#2A7E19
ΔE00 5.73
Green
#008000
ΔE00 7.13
Deep Green
#02590F
ΔE00 7.50
Dark Grass Green
#388004
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286F22 #69226F
analogous
#4E6F22 #286F22 #226F42
triadic
#286F22 #22286F #6F2228
tetradic
#286F22 #224E6F #69226F #6F4222
square
#286F22 #224E6F #69226F #6F4222
split-complementary
#286F22 #42226F #6F224E
monochromatic
#081707 #174014 #286F22 #399E30 #4FC645
Accessibility & contrast
On white
6.20
#286F22 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#286F22 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286F22
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286F22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286F22 | 1.00 | 6.20 | 3.39 | 6.20 |
| #FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726518
Deuteranopia (green-blind)
#695F29
Tritanopia (blue-blind)
#1C6C5F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #286f22; /* rgb */ color: rgb(40, 111, 34); /* oklch */ color: oklch(48.0% 0.132 142.0);
Tailwind
colors: {
custom: {
50: '#6b9961',
500: '#286f22',
950: '#000000',
},
}SCSS
$custom: #286f22; $custom-light: #6b9961; $custom-dark: #000000;
JSON
{
"hex": "#286f22",
"rgb": {
"r": 40,
"g": 111,
"b": 34
},
"hsl": {
"h": 115.325,
"s": 53.103,
"l": 28.431
},
"oklch": {
"l": 0.47969,
"c": 0.1318,
"h": 142
},
"luminance": 0.11935
}Semantic roles & 50–950 ramp
primary
#286F22
secondary
#9C4AA2
accent
#4BDDD1
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79