#287E16#287E16

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

Color values

HEX#287E16
RGBrgb(40, 126, 22)
HSLhsl(110, 70%, 29%)
HSVhsv(110, 83%, 49%)
CMYKcmyk(68.3%, 0%, 82.5%, 50.6%)
CIE-LABlab(46.22, -44.76, 44.98)
CIE-LCHlch(46.22, 63.45, 134.86°)
OKLaboklab(52.17% -0.1225 0.1)
OKLCHoklch(52.17% 0.158 140.8)
XYZxyz(8.4803, 15.4299, 3.2903)
Luminance0.1543 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287E16 #6C167E
analogous
#5C7E16 #287E16 #167E38
triadic
#287E16 #16287E #7E1628
tetradic
#287E16 #165C7E #6C167E #7E3816
square
#287E16 #165C7E #6C167E #7E3816
split-complementary
#287E16 #38167E #7E165C
monochromatic
#081A05 #174A0D #287E16 #39B21F #50DB33

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##287E16#FFFFFF#000000##FFFFFF
##287E161.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: #287e16;
/* rgb */ color: rgb(40, 126, 22);
/* oklch */ color: oklch(52.2% 0.158 140.8);
Tailwind
colors: {
  custom: {
    50: '#6fa45d',
    500: '#287e16',
    950: '#000000',
  },
}
SCSS
$custom: #287e16;
$custom-light: #6fa45d;
$custom-dark: #000000;
JSON
{
  "hex": "#287e16",
  "rgb": {
    "r": 40,
    "g": 126,
    "b": 22
  },
  "hsl": {
    "h": 109.615,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52167,
    "c": 0.15811,
    "h": 140.8
  },
  "luminance": 0.15431
}

Semantic roles & 50–950 ramp

primary
#287E16
secondary
#9E3DB3
accent
#3BEDCE
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #287E16

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

Preview Lab → · Contrast checker → · Palette generator →

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