#287B14#287B14

#287B14 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.3% C 0.156 H 140.5°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#287B14
RGBrgb(40, 123, 20)
HSLhsl(108, 72%, 28%)
HSVhsv(108, 84%, 48%)
CMYKcmyk(67.5%, 0%, 83.7%, 51.8%)
CIE-LABlab(45.17, -43.80, 44.62)
CIE-LCHlch(45.17, 62.52, 134.46°)
OKLaboklab(51.3% -0.12 0.0989)
OKLCHoklch(51.3% 0.156 140.5)
XYZxyz(8.0839, 14.6667, 3.0666)
Luminance0.1467 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287B14 #67147B
analogous
#5B7B14 #287B14 #147B34
triadic
#287B14 #14287B #7B1428
tetradic
#287B14 #145B7B #67147B #7B3414
square
#287B14 #145B7B #67147B #7B3414
split-complementary
#287B14 #34147B #7B145B
monochromatic
#091A04 #17460B #287B14 #39B01D #4FDD2D

Accessibility & contrast

On white

5.34
#287B14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#287B14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287B14
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287B14#FFFFFF#000000##FFFFFF
##287B141.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#756821
Tritanopia (blue-blind)
#1A7768
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #287b14;
/* rgb */ color: rgb(40, 123, 20);
/* oklch */ color: oklch(51.3% 0.156 140.5);
Tailwind
colors: {
  custom: {
    50: '#6fa25c',
    500: '#287b14',
    950: '#000000',
  },
}
SCSS
$custom: #287b14;
$custom-light: #6fa25c;
$custom-dark: #000000;
JSON
{
  "hex": "#287b14",
  "rgb": {
    "r": 40,
    "g": 123,
    "b": 20
  },
  "hsl": {
    "h": 108.35,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51299,
    "c": 0.15554,
    "h": 140.5
  },
  "luminance": 0.14668
}

Semantic roles & 50–950 ramp

primary
#287B14
secondary
#9A3AB1
accent
#39EFCB
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #287B14

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

Preview Lab → · Contrast checker → · Palette generator →

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