#287317#287317

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

Color values

HEX#287317
RGBrgb(40, 115, 23)
HSLhsl(109, 67%, 27%)
HSVhsv(109, 80%, 45%)
CMYKcmyk(65.2%, 0%, 80%, 54.9%)
CIE-LABlab(42.42, -40.64, 41.01)
CIE-LCHlch(42.42, 57.74, 134.75°)
OKLaboklab(49.02% -0.1114 0.0918)
OKLCHoklch(49.02% 0.144 140.5)
XYZxyz(7.1601, 12.7738, 2.8987)
Luminance0.1277 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287317 #621773
analogous
#567317 #287317 #177334
triadic
#287317 #172873 #731728
tetradic
#287317 #175673 #621773 #733417
square
#287317 #175673 #621773 #733417
split-complementary
#287317 #341773 #731756
monochromatic
#091A05 #16400D #287317 #3AA621 #4ED52F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##287317#FFFFFF#000000##FFFFFF
##2873171.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)
#766802
Deuteranopia (green-blind)
#6D6221
Tritanopia (blue-blind)
#1D6F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #287317;
/* rgb */ color: rgb(40, 115, 23);
/* oklch */ color: oklch(49.0% 0.144 140.5);
Tailwind
colors: {
  custom: {
    50: '#6d9c5c',
    500: '#287317',
    950: '#000000',
  },
}
SCSS
$custom: #287317;
$custom-light: #6d9c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#287317",
  "rgb": {
    "r": 40,
    "g": 115,
    "b": 23
  },
  "hsl": {
    "h": 108.913,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.49023,
    "c": 0.14435,
    "h": 140.5
  },
  "luminance": 0.12774
}

Semantic roles & 50–950 ramp

primary
#287317
secondary
#953DA9
accent
#3EEACA
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #287317

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

Preview Lab → · Contrast checker → · Palette generator →

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