#287F13#287F13

#287F13 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.4% C 0.161 H 140.6°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#287F13
RGBrgb(40, 127, 19)
HSLhsl(108, 74%, 29%)
HSVhsv(108, 85%, 50%)
CMYKcmyk(68.5%, 0%, 85%, 50.2%)
CIE-LABlab(46.55, -45.29, 46.19)
CIE-LCHlch(46.55, 64.69, 134.44°)
OKLaboklab(52.43% -0.1241 0.1021)
OKLCHoklch(52.43% 0.161 140.6)
XYZxyz(8.5816, 15.6760, 3.1895)
Luminance0.1568 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287F13 #6A137F
analogous
#5E7F13 #287F13 #137F34
triadic
#287F13 #13287F #7F1328
tetradic
#287F13 #135E7F #6A137F #7F3413
square
#287F13 #135E7F #6A137F #7F3413
split-complementary
#287F13 #34137F #7F135E
monochromatic
#081B04 #174A0B #287F13 #39B41B #50E02D

Accessibility & contrast

On white

5.08
#287F13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#287F13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287F13
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287F13#FFFFFF#000000##FFFFFF
##287F131.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#786C21
Tritanopia (blue-blind)
#187B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #287f13;
/* rgb */ color: rgb(40, 127, 19);
/* oklch */ color: oklch(52.4% 0.161 140.6);
Tailwind
colors: {
  custom: {
    50: '#70a55c',
    500: '#287f13',
    950: '#000000',
  },
}
SCSS
$custom: #287f13;
$custom-light: #70a55c;
$custom-dark: #000000;
JSON
{
  "hex": "#287f13",
  "rgb": {
    "r": 40,
    "g": 127,
    "b": 19
  },
  "hsl": {
    "h": 108.333,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52435,
    "c": 0.16066,
    "h": 140.6
  },
  "luminance": 0.15677
}

Semantic roles & 50–950 ramp

primary
#287F13
secondary
#9D39B4
accent
#37F1CD
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #287F13

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

Preview Lab → · Contrast checker → · Palette generator →

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