#287017#287017

#287017 is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.2% C 0.141 H 140.4°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#287017
RGBrgb(40, 112, 23)
HSLhsl(109, 66%, 26%)
HSVhsv(109, 79%, 44%)
CMYKcmyk(64.3%, 0%, 79.5%, 56.1%)
CIE-LABlab(41.38, -39.50, 39.99)
CIE-LCHlch(41.38, 56.21, 134.65°)
OKLaboklab(48.16% -0.1083 0.0897)
OKLCHoklch(48.16% 0.141 140.4)
XYZxyz(6.8236, 12.1007, 2.7865)
Luminance0.1210 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287017 #5F1770
analogous
#557017 #287017 #177033
triadic
#287017 #172870 #701728
tetradic
#287017 #175570 #5F1770 #703317
square
#287017 #175570 #5F1770 #703317
split-complementary
#287017 #331770 #701755
monochromatic
#091905 #163D0D #287017 #3AA321 #4DD42D

Accessibility & contrast

On white

6.14
#287017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #287017
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287017#FFFFFF#000000##FFFFFF
##2870171.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #287017;
/* rgb */ color: rgb(40, 112, 23);
/* oklch */ color: oklch(48.2% 0.141 140.4);
Tailwind
colors: {
  custom: {
    50: '#6c9a5b',
    500: '#287017',
    950: '#000000',
  },
}
SCSS
$custom: #287017;
$custom-light: #6c9a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#287017",
  "rgb": {
    "r": 40,
    "g": 112,
    "b": 23
  },
  "hsl": {
    "h": 108.539,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48159,
    "c": 0.14062,
    "h": 140.4
  },
  "luminance": 0.12101
}

Semantic roles & 50–950 ramp

primary
#287017
secondary
#923DA6
accent
#3FE9C8
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #287017

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

Preview Lab → · Contrast checker → · Palette generator →

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