#286B23#286B23
#286B23 is a mid, vivid green. Relative luminance 0.111; OKLCH L 46.8% C 0.126 H 142.2°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #286B23 |
|---|---|
| RGB | rgb(40, 107, 35) |
| HSL | hsl(116, 51%, 28%) |
| HSV | hsv(116, 67%, 42%) |
| CMYK | cmyk(62.6%, 0%, 67.3%, 58%) |
| CIE-LAB | lab(39.73, -36.41, 33.16) |
| CIE-LCH | lch(39.73, 49.25, 137.68°) |
| OKLab | oklab(46.83% -0.0992 0.077) |
| OKLCH | oklch(46.83% 0.126 142.2) |
| XYZ | xyz(6.4358, 11.0873, 3.3907) |
| Luminance | 0.1109 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.45
Darkish Green
#287C37
ΔE00 6.10
Deep Green
#02590F
ΔE00 6.30
Forest Green
#2D5A27
ΔE00 6.51
Tree Green
#2A7E19
ΔE00 7.19
Forest
#0B5509
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286B23 #66236B
analogous
#4C6B23 #286B23 #236B42
triadic
#286B23 #23286B #6B2328
tetradic
#286B23 #234C6B #66236B #6B4223
square
#286B23 #234C6B #66236B #6B4223
split-complementary
#286B23 #42236B #6B234C
monochromatic
#091708 #173D14 #286B23 #399932 #4FC246
Accessibility & contrast
On white
6.53
#286B23 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#286B23 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286B23
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286B23 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286B23 | 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)
#6E611A
Deuteranopia (green-blind)
#655B29
Tritanopia (blue-blind)
#1D685C
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #286b23; /* rgb */ color: rgb(40, 107, 35); /* oklch */ color: oklch(46.8% 0.126 142.2);
Tailwind
colors: {
custom: {
50: '#6a9661',
500: '#286b23',
950: '#000000',
},
}SCSS
$custom: #286b23; $custom-light: #6a9661; $custom-dark: #000000;
JSON
{
"hex": "#286b23",
"rgb": {
"r": 40,
"g": 107,
"b": 35
},
"hsl": {
"h": 115.833,
"s": 50.704,
"l": 27.843
},
"oklch": {
"l": 0.46828,
"c": 0.12558,
"h": 142.2
},
"luminance": 0.11088
}Semantic roles & 50–950 ramp
primary
#286B23
secondary
#994B9E
accent
#4EDAD0
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070D05
muted
#7A7E79