#287013#287013

#287013 is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.1% C 0.143 H 139.9°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#287013
RGBrgb(40, 112, 19)
HSLhsl(106, 71%, 26%)
HSVhsv(106, 83%, 44%)
CMYKcmyk(64.3%, 0%, 83%, 56.1%)
CIE-LABlab(41.35, -39.78, 41.36)
CIE-LCHlch(41.35, 57.38, 133.89°)
OKLaboklab(48.13% -0.1093 0.092)
OKLCHoklch(48.13% 0.143 139.9)
XYZxyz(6.7865, 12.0858, 2.5911)
Luminance0.1209 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287013 #5B1370
analogous
#567013 #287013 #13702D
triadic
#287013 #132870 #701328
tetradic
#287013 #135670 #5B1370 #702D13
square
#287013 #135670 #5B1370 #702D13
split-complementary
#287013 #2D1370 #701356
monochromatic
#091A04 #153C0A #287013 #3BA41C #4DD925

Accessibility & contrast

On white

6.15
#287013 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#287013 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287013
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287013#FFFFFF#000000##FFFFFF
##2870131.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#6B5F1E
Tritanopia (blue-blind)
#1E6C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #287013;
/* rgb */ color: rgb(40, 112, 19);
/* oklch */ color: oklch(48.1% 0.143 139.9);
Tailwind
colors: {
  custom: {
    50: '#6c9a59',
    500: '#287013',
    950: '#000000',
  },
}
SCSS
$custom: #287013;
$custom-light: #6c9a59;
$custom-dark: #000000;
JSON
{
  "hex": "#287013",
  "rgb": {
    "r": 40,
    "g": 112,
    "b": 19
  },
  "hsl": {
    "h": 106.452,
    "s": 70.992,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48132,
    "c": 0.1428,
    "h": 139.9
  },
  "luminance": 0.12086
}

Semantic roles & 50–950 ramp

primary
#287013
secondary
#8E38A7
accent
#3AEEC5
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #287013

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

Preview Lab → · Contrast checker → · Palette generator →

#287013 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva