#286B22#286B22
#286B22 is a mid, vivid green. Relative luminance 0.111; OKLCH L 46.8% C 0.126 H 142.0°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #286B22 |
|---|---|
| RGB | rgb(40, 107, 34) |
| HSL | hsl(115, 52%, 28%) |
| HSV | hsv(115, 68%, 42%) |
| CMYK | cmyk(62.6%, 0%, 68.2%, 58%) |
| CIE-LAB | lab(39.72, -36.52, 33.62) |
| CIE-LCH | lch(39.72, 49.64, 137.37°) |
| OKLab | oklab(46.82% -0.0996 0.0779) |
| OKLCH | oklch(46.82% 0.126 142) |
| XYZ | xyz(6.4212, 11.0814, 3.3136) |
| Luminance | 0.1108 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.33
Darkish Green
#287C37
ΔE00 6.16
Deep Green
#02590F
ΔE00 6.29
Forest Green
#2D5A27
ΔE00 6.58
Tree Green
#2A7E19
ΔE00 7.12
Forest
#0B5509
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286B22 #65226B
analogous
#4D6B22 #286B22 #226B40
triadic
#286B22 #22286B #6B2228
tetradic
#286B22 #224D6B #65226B #6B4022
square
#286B22 #224D6B #65226B #6B4022
split-complementary
#286B22 #40226B #6B224D
monochromatic
#091707 #173D13 #286B22 #399931 #4EC444
Accessibility & contrast
On white
6.53
#286B22 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#286B22 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286B22
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286B22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286B22 | 1.00 | 6.53 | 3.22 | 6.53 |
| #FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E6119
Deuteranopia (green-blind)
#655B28
Tritanopia (blue-blind)
#1D685C
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #286b22; /* rgb */ color: rgb(40, 107, 34); /* oklch */ color: oklch(46.8% 0.126 142.0);
Tailwind
colors: {
custom: {
50: '#6a9661',
500: '#286b22',
950: '#000000',
},
}SCSS
$custom: #286b22; $custom-light: #6a9661; $custom-dark: #000000;
JSON
{
"hex": "#286b22",
"rgb": {
"r": 40,
"g": 107,
"b": 34
},
"hsl": {
"h": 115.068,
"s": 51.773,
"l": 27.647
},
"oklch": {
"l": 0.46817,
"c": 0.1264,
"h": 142
},
"luminance": 0.11082
}Semantic roles & 50–950 ramp
primary
#286B22
secondary
#984A9F
accent
#4DDBCF
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070D05
muted
#7A7E79