#287314#287314

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

Color values

HEX#287314
RGBrgb(40, 115, 20)
HSLhsl(107, 70%, 26%)
HSVhsv(107, 83%, 45%)
CMYKcmyk(65.2%, 0%, 82.6%, 54.9%)
CIE-LABlab(42.40, -40.85, 42.02)
CIE-LCHlch(42.40, 58.60, 134.19°)
OKLaboklab(49% -0.1121 0.0935)
OKLCHoklch(49% 0.146 140.2)
XYZxyz(7.1317, 12.7624, 2.7492)
Luminance0.1276 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287314 #5F1473
analogous
#587314 #287314 #147330
triadic
#287314 #142873 #731428
tetradic
#287314 #145873 #5F1473 #733014
square
#287314 #145873 #5F1473 #733014
split-complementary
#287314 #301473 #731458
monochromatic
#091A05 #163F0B #287314 #3AA71D #4DDA28

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##287314#FFFFFF#000000##FFFFFF
##2873141.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: #287314;
/* rgb */ color: rgb(40, 115, 20);
/* oklch */ color: oklch(49.0% 0.146 140.2);
Tailwind
colors: {
  custom: {
    50: '#6d9c5a',
    500: '#287314',
    950: '#000000',
  },
}
SCSS
$custom: #287314;
$custom-light: #6d9c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#287314",
  "rgb": {
    "r": 40,
    "g": 115,
    "b": 20
  },
  "hsl": {
    "h": 107.368,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49003,
    "c": 0.14595,
    "h": 140.2
  },
  "luminance": 0.12763
}

Semantic roles & 50–950 ramp

primary
#287314
secondary
#923AA9
accent
#3BEDC8
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #287314

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

Preview Lab → · Contrast checker → · Palette generator →

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