#287917#287917

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

Color values

HEX#287917
RGBrgb(40, 121, 23)
HSLhsl(110, 68%, 28%)
HSVhsv(110, 81%, 47%)
CMYKcmyk(66.9%, 0%, 81%, 52.5%)
CIE-LABlab(44.50, -42.88, 43.02)
CIE-LCHlch(44.50, 60.73, 134.91°)
OKLaboklab(50.75% -0.1174 0.096)
OKLCHoklch(50.75% 0.152 140.7)
XYZxyz(7.8667, 14.1869, 3.1342)
Luminance0.1419 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287917 #681779
analogous
#597917 #287917 #177937
triadic
#287917 #172879 #791728
tetradic
#287917 #175979 #681779 #793717
square
#287917 #175979 #681779 #793717
split-complementary
#287917 #371779 #791759
monochromatic
#081A05 #17460D #287917 #39AC21 #4FD832

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##287917#FFFFFF#000000##FFFFFF
##2879171.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)
#7C6D00
Deuteranopia (green-blind)
#736722
Tritanopia (blue-blind)
#1A7567
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #287917;
/* rgb */ color: rgb(40, 121, 23);
/* oklch */ color: oklch(50.7% 0.152 140.7);
Tailwind
colors: {
  custom: {
    50: '#6ea15d',
    500: '#287917',
    950: '#000000',
  },
}
SCSS
$custom: #287917;
$custom-light: #6ea15d;
$custom-dark: #000000;
JSON
{
  "hex": "#287917",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 23
  },
  "hsl": {
    "h": 109.592,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50745,
    "c": 0.15165,
    "h": 140.7
  },
  "luminance": 0.14188
}

Semantic roles & 50–950 ramp

primary
#287917
secondary
#9B3EAE
accent
#3DEBCD
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #287917

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

Preview Lab → · Contrast checker → · Palette generator →

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