#287E17#287E17

#287E17 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.158 H 140.9°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#287E17
RGBrgb(40, 126, 23)
HSLhsl(110, 69%, 29%)
HSVhsv(110, 82%, 49%)
CMYKcmyk(68.3%, 0%, 81.7%, 50.6%)
CIE-LABlab(46.22, -44.69, 44.66)
CIE-LCHlch(46.22, 63.18, 135.02°)
OKLaboklab(52.17% -0.1223 0.0995)
OKLCHoklch(52.17% 0.158 140.9)
XYZxyz(8.4901, 15.4338, 3.3420)
Luminance0.1543 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287E17 #6D177E
analogous
#5C7E17 #287E17 #177E3A
triadic
#287E17 #17287E #7E1728
tetradic
#287E17 #175C7E #6D177E #7E3A17
square
#287E17 #175C7E #6D177E #7E3A17
split-complementary
#287E17 #3A177E #7E175C
monochromatic
#081A05 #184A0E #287E17 #38B220 #50DA35

Accessibility & contrast

On white

5.14
#287E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#287E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287E17
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287E17#FFFFFF#000000##FFFFFF
##287E171.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817200
Deuteranopia (green-blind)
#776B23
Tritanopia (blue-blind)
#187A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #287e17;
/* rgb */ color: rgb(40, 126, 23);
/* oklch */ color: oklch(52.2% 0.158 140.9);
Tailwind
colors: {
  custom: {
    50: '#6fa45d',
    500: '#287e17',
    950: '#000000',
  },
}
SCSS
$custom: #287e17;
$custom-light: #6fa45d;
$custom-dark: #000000;
JSON
{
  "hex": "#287e17",
  "rgb": {
    "r": 40,
    "g": 126,
    "b": 23
  },
  "hsl": {
    "h": 110.097,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52173,
    "c": 0.15762,
    "h": 140.9
  },
  "luminance": 0.15435
}

Semantic roles & 50–950 ramp

primary
#287E17
secondary
#9F3EB3
accent
#3CECCF
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #287E17

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

Preview Lab → · Contrast checker → · Palette generator →

#287E17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva