#287313#287313

#287313 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.0% C 0.146 H 140.1°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#287313
RGBrgb(40, 115, 19)
HSLhsl(107, 72%, 26%)
HSVhsv(107, 83%, 45%)
CMYKcmyk(65.2%, 0%, 83.5%, 54.9%)
CIE-LABlab(42.40, -40.91, 42.34)
CIE-LCHlch(42.40, 58.88, 134.02°)
OKLaboklab(49% -0.1123 0.094)
OKLCHoklch(49% 0.146 140.1)
XYZxyz(7.1230, 12.7589, 2.7033)
Luminance0.1276 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287313 #5E1373
analogous
#587313 #287313 #13732E
triadic
#287313 #132873 #731328
tetradic
#287313 #135873 #5E1373 #732E13
square
#287313 #135873 #5E1373 #732E13
split-complementary
#287313 #2E1373 #731358
monochromatic
#091A04 #163E0A #287313 #3AA81C #4DDB25

Accessibility & contrast

On white

5.91
#287313 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#287313 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287313
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287313#FFFFFF#000000##FFFFFF
##2873131.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#6D621F
Tritanopia (blue-blind)
#1D6F61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #287313;
/* rgb */ color: rgb(40, 115, 19);
/* oklch */ color: oklch(49.0% 0.146 140.1);
Tailwind
colors: {
  custom: {
    50: '#6d9c5a',
    500: '#287313',
    950: '#000000',
  },
}
SCSS
$custom: #287313;
$custom-light: #6d9c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#287313",
  "rgb": {
    "r": 40,
    "g": 115,
    "b": 19
  },
  "hsl": {
    "h": 106.875,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48997,
    "c": 0.14646,
    "h": 140.1
  },
  "luminance": 0.1276
}

Semantic roles & 50–950 ramp

primary
#287313
secondary
#9138AA
accent
#39EEC7
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #287313

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

Preview Lab → · Contrast checker → · Palette generator →

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