#287919#287919

#287919 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.8% C 0.151 H 140.9°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#287919
RGBrgb(40, 121, 25)
HSLhsl(111, 66%, 29%)
HSVhsv(111, 79%, 47%)
CMYKcmyk(66.9%, 0%, 79.3%, 52.5%)
CIE-LABlab(44.51, -42.74, 42.33)
CIE-LCHlch(44.51, 60.15, 135.27°)
OKLaboklab(50.76% -0.1169 0.0949)
OKLCHoklch(50.76% 0.151 140.9)
XYZxyz(7.8875, 14.1953, 3.2438)
Luminance0.1420 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287919 #6A1979
analogous
#587919 #287919 #19793A
triadic
#287919 #192879 #791928
tetradic
#287919 #195879 #6A1979 #793A19
square
#287919 #195879 #6A1979 #793A19
split-complementary
#287919 #3A1979 #791958
monochromatic
#081905 #17460F #287919 #39AC23 #50D637

Accessibility & contrast

On white

5.47
#287919 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#287919 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287919
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287919#FFFFFF#000000##FFFFFF
##2879191.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D03
Deuteranopia (green-blind)
#736724
Tritanopia (blue-blind)
#1A7567
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #287919;
/* rgb */ color: rgb(40, 121, 25);
/* oklch */ color: oklch(50.8% 0.151 140.9);
Tailwind
colors: {
  custom: {
    50: '#6ea15e',
    500: '#287919',
    950: '#000000',
  },
}
SCSS
$custom: #287919;
$custom-light: #6ea15e;
$custom-dark: #000000;
JSON
{
  "hex": "#287919",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 25
  },
  "hsl": {
    "h": 110.625,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50759,
    "c": 0.15056,
    "h": 140.9
  },
  "luminance": 0.14196
}

Semantic roles & 50–950 ramp

primary
#287919
secondary
#9D40AE
accent
#3FE9CE
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #287919

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

Preview Lab → · Contrast checker → · Palette generator →

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