#286312#286312
#286312 is a dark, vivid green. Relative luminance 0.094; OKLCH L 44.3% C 0.127 H 138.9°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #286312 |
|---|---|
| RGB | rgb(40, 99, 18) |
| HSL | hsl(104, 69%, 23%) |
| HSV | hsv(104, 82%, 39%) |
| CMYK | cmyk(59.6%, 0%, 81.8%, 61.2%) |
| CIE-LAB | lab(36.78, -34.73, 37.33) |
| CIE-LCH | lch(36.78, 50.99, 132.93°) |
| OKLab | oklab(44.35% -0.0957 0.0834) |
| OKLCH | oklch(44.35% 0.127 138.9) |
| XYZ | xyz(5.4459, 9.4180, 2.1030) |
| Luminance | 0.0942 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.04
Deep Green
#02590F
ΔE00 4.56
Forest
#0B5509
ΔE00 5.09
Forest Green
#2D5A27
ΔE00 5.73
Navy Green
#35530A
ΔE00 6.50
Camouflage Green
#4B6113
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286312 #4D1263
analogous
#506312 #286312 #126325
triadic
#286312 #122863 #631228
tetradic
#286312 #125063 #4D1263 #632512
square
#286312 #125063 #4D1263 #632512
split-complementary
#286312 #251263 #631250
monochromatic
#0A1A05 #132F09 #286312 #3D971B #52CB25
Accessibility & contrast
On white
7.28
#286312 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#286312 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #286312
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286312 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286312 | 1.00 | 7.28 | 2.88 | 7.28 |
| #FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#665A01
Deuteranopia (green-blind)
#5F551B
Tritanopia (blue-blind)
#225F54
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #286312; /* rgb */ color: rgb(40, 99, 18); /* oklch */ color: oklch(44.3% 0.127 138.9);
Tailwind
colors: {
custom: {
50: '#6a9057',
500: '#286312',
950: '#000000',
},
}SCSS
$custom: #286312; $custom-light: #6a9057; $custom-dark: #000000;
JSON
{
"hex": "#286312",
"rgb": {
"r": 40,
"g": 99,
"b": 18
},
"hsl": {
"h": 103.704,
"s": 69.231,
"l": 22.941
},
"oklch": {
"l": 0.44349,
"c": 0.12696,
"h": 138.9
},
"luminance": 0.09418
}Semantic roles & 50–950 ramp
primary
#286312
secondary
#80369B
accent
#3CECBC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78