#287E13#287E13

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

Color values

HEX#287E13
RGBrgb(40, 126, 19)
HSLhsl(108, 74%, 28%)
HSVhsv(108, 85%, 49%)
CMYKcmyk(68.3%, 0%, 84.9%, 50.6%)
CIE-LABlab(46.20, -44.93, 45.87)
CIE-LCHlch(46.20, 64.21, 134.41°)
OKLaboklab(52.15% -0.1231 0.1014)
OKLCHoklch(52.15% 0.16 140.5)
XYZxyz(8.4531, 15.4190, 3.1467)
Luminance0.1542 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287E13 #69137E
analogous
#5D7E13 #287E13 #137E33
triadic
#287E13 #13287E #7E1328
tetradic
#287E13 #135D7E #69137E #7E3313
square
#287E13 #135D7E #69137E #7E3313
split-complementary
#287E13 #33137E #7E135D
monochromatic
#081B04 #17490B #287E13 #39B31B #4FDF2C

Accessibility & contrast

On white

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

On black

4.08
#287E13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##287E13#FFFFFF#000000##FFFFFF
##287E131.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#776B21
Tritanopia (blue-blind)
#197A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #287e13;
/* rgb */ color: rgb(40, 126, 19);
/* oklch */ color: oklch(52.1% 0.160 140.5);
Tailwind
colors: {
  custom: {
    50: '#6fa45c',
    500: '#287e13',
    950: '#000000',
  },
}
SCSS
$custom: #287e13;
$custom-light: #6fa45c;
$custom-dark: #000000;
JSON
{
  "hex": "#287e13",
  "rgb": {
    "r": 40,
    "g": 126,
    "b": 19
  },
  "hsl": {
    "h": 108.224,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5215,
    "c": 0.1595,
    "h": 140.5
  },
  "luminance": 0.1542
}

Semantic roles & 50–950 ramp

primary
#287E13
secondary
#9C39B4
accent
#37F0CC
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #287E13

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

Preview Lab → · Contrast checker → · Palette generator →

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