#287413#287413

#287413 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.3% C 0.148 H 140.1°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#287413
RGBrgb(40, 116, 19)
HSLhsl(107, 72%, 26%)
HSVhsv(107, 84%, 45%)
CMYKcmyk(65.5%, 0%, 83.6%, 54.5%)
CIE-LABlab(42.75, -41.28, 42.67)
CIE-LCHlch(42.75, 59.37, 134.06°)
OKLaboklab(49.29% -0.1133 0.0947)
OKLCHoklch(49.29% 0.148 140.1)
XYZxyz(7.2377, 12.9882, 2.7415)
Luminance0.1299 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287413 #5F1374
analogous
#597413 #287413 #13742F
triadic
#287413 #132874 #741328
tetradic
#287413 #135974 #5F1374 #742F13
square
#287413 #135974 #5F1374 #742F13
split-complementary
#287413 #2F1374 #741359
monochromatic
#091A04 #163F0A #287413 #3AA91C #4DDB26

Accessibility & contrast

On white

5.84
#287413 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#287413 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287413
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287413#FFFFFF#000000##FFFFFF
##2874131.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776900
Deuteranopia (green-blind)
#6E631F
Tritanopia (blue-blind)
#1D7062
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #287413;
/* rgb */ color: rgb(40, 116, 19);
/* oklch */ color: oklch(49.3% 0.148 140.1);
Tailwind
colors: {
  custom: {
    50: '#6d9d5a',
    500: '#287413',
    950: '#000000',
  },
}
SCSS
$custom: #287413;
$custom-light: #6d9d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#287413",
  "rgb": {
    "r": 40,
    "g": 116,
    "b": 19
  },
  "hsl": {
    "h": 107.01,
    "s": 71.852,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49285,
    "c": 0.14767,
    "h": 140.1
  },
  "luminance": 0.12989
}

Semantic roles & 50–950 ramp

primary
#287413
secondary
#9238AA
accent
#39EFC7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #287413

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

Preview Lab → · Contrast checker → · Palette generator →

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