#286B25#286B25
#286B25 is a mid, vivid green. Relative luminance 0.111; OKLCH L 46.9% C 0.124 H 142.6°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #286B25 |
|---|---|
| RGB | rgb(40, 107, 37) |
| HSL | hsl(117, 49%, 28%) |
| HSV | hsv(117, 65%, 42%) |
| CMYK | cmyk(62.6%, 0%, 65.4%, 58%) |
| CIE-LAB | lab(39.75, -36.18, 32.21) |
| CIE-LCH | lch(39.75, 48.44, 138.32°) |
| OKLab | oklab(46.85% -0.0984 0.0752) |
| OKLCH | oklch(46.85% 0.124 142.6) |
| XYZ | xyz(6.4663, 11.0995, 3.5516) |
| Luminance | 0.1110 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.70
Darkish Green
#287C37
ΔE00 6.00
Deep Green
#02590F
ΔE00 6.33
Forest Green
#2D5A27
ΔE00 6.36
Pine
#2B5D34
ΔE00 7.32
Tree Green
#2A7E19
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286B25 #68256B
analogous
#4B6B25 #286B25 #256B45
triadic
#286B25 #25286B #6B2528
tetradic
#286B25 #254B6B #68256B #6B4525
square
#286B25 #254B6B #68256B #6B4525
split-complementary
#286B25 #45256B #6B254B
monochromatic
#081708 #173E15 #286B25 #399835 #4FC04A
Accessibility & contrast
On white
6.52
#286B25 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#286B25 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286B25
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286B25 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286B25 | 1.00 | 6.52 | 3.22 | 6.52 |
| #FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D611D
Deuteranopia (green-blind)
#655B2B
Tritanopia (blue-blind)
#1D685C
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #286b25; /* rgb */ color: rgb(40, 107, 37); /* oklch */ color: oklch(46.9% 0.124 142.6);
Tailwind
colors: {
custom: {
50: '#6a9662',
500: '#286b25',
950: '#000000',
},
}SCSS
$custom: #286b25; $custom-light: #6a9662; $custom-dark: #000000;
JSON
{
"hex": "#286b25",
"rgb": {
"r": 40,
"g": 107,
"b": 37
},
"hsl": {
"h": 117.429,
"s": 48.611,
"l": 28.235
},
"oklch": {
"l": 0.46851,
"c": 0.12389,
"h": 142.6
},
"luminance": 0.111
}Semantic roles & 50–950 ramp
primary
#286B25
secondary
#9B4E9E
accent
#50D8D2
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070D05
muted
#7A7E79