#287E15#287E15

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

Color values

HEX#287E15
RGBrgb(40, 126, 21)
HSLhsl(109, 71%, 29%)
HSVhsv(109, 83%, 49%)
CMYKcmyk(68.3%, 0%, 83.3%, 50.6%)
CIE-LABlab(46.21, -44.82, 45.28)
CIE-LCHlch(46.21, 63.71, 134.70°)
OKLaboklab(52.16% -0.1227 0.1005)
OKLCHoklch(52.16% 0.159 140.7)
XYZxyz(8.4709, 15.4261, 3.2404)
Luminance0.1543 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287E15 #6B157E
analogous
#5D7E15 #287E15 #157E37
triadic
#287E15 #15287E #7E1528
tetradic
#287E15 #155D7E #6B157E #7E3715
square
#287E15 #155D7E #6B157E #7E3715
split-complementary
#287E15 #37157E #7E155D
monochromatic
#081A04 #174A0C #287E15 #39B21E #50DD31

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##287E15#FFFFFF#000000##FFFFFF
##287E151.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)
#776B22
Tritanopia (blue-blind)
#187A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #287e15;
/* rgb */ color: rgb(40, 126, 21);
/* oklch */ color: oklch(52.2% 0.159 140.7);
Tailwind
colors: {
  custom: {
    50: '#6fa45d',
    500: '#287e15',
    950: '#000000',
  },
}
SCSS
$custom: #287e15;
$custom-light: #6fa45d;
$custom-dark: #000000;
JSON
{
  "hex": "#287e15",
  "rgb": {
    "r": 40,
    "g": 126,
    "b": 21
  },
  "hsl": {
    "h": 109.143,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52161,
    "c": 0.15859,
    "h": 140.7
  },
  "luminance": 0.15427
}

Semantic roles & 50–950 ramp

primary
#287E15
secondary
#9D3CB3
accent
#3AEECE
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #287E15

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

Preview Lab → · Contrast checker → · Palette generator →

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