#286519#286519

#286519 is a dark, vivid green. Relative luminance 0.098; OKLCH L 45.0% C 0.125 H 140.1°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#286519
RGBrgb(40, 101, 25)
HSLhsl(108, 60%, 25%)
HSVhsv(108, 75%, 40%)
CMYKcmyk(60.4%, 0%, 75.2%, 60.4%)
CIE-LABlab(37.53, -34.99, 35.33)
CIE-LCHlch(37.53, 49.72, 134.72°)
OKLaboklab(44.99% -0.096 0.0803)
OKLCHoklch(44.99% 0.125 140.1)
XYZxyz(5.7040, 9.8282, 2.5160)
Luminance0.0983 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286519 #561965
analogous
#4E6519 #286519 #196530
triadic
#286519 #192865 #651928
tetradic
#286519 #194E65 #561965 #653019
square
#286519 #194E65 #561965 #653019
split-complementary
#286519 #301965 #65194E
monochromatic
#0A1906 #15340D #286519 #3B9625 #4FC731

Accessibility & contrast

On white

7.08
#286519 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#286519 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #286519
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286519#FFFFFF#000000##FFFFFF
##2865191.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B0D
Deuteranopia (green-blind)
#605620
Tritanopia (blue-blind)
#216256
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #286519;
/* rgb */ color: rgb(40, 101, 25);
/* oklch */ color: oklch(45.0% 0.125 140.1);
Tailwind
colors: {
  custom: {
    50: '#6a915b',
    500: '#286519',
    950: '#000000',
  },
}
SCSS
$custom: #286519;
$custom-light: #6a915b;
$custom-dark: #000000;
JSON
{
  "hex": "#286519",
  "rgb": {
    "r": 40,
    "g": 101,
    "b": 25
  },
  "hsl": {
    "h": 108.158,
    "s": 60.317,
    "l": 24.706
  },
  "oklch": {
    "l": 0.44988,
    "c": 0.12513,
    "h": 140.1
  },
  "luminance": 0.09829
}

Semantic roles & 50–950 ramp

primary
#286519
secondary
#893F9B
accent
#44E3C4
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #286519

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#286519 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva