#287016#287016

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

Color values

HEX#287016
RGBrgb(40, 112, 22)
HSLhsl(108, 67%, 26%)
HSVhsv(108, 80%, 44%)
CMYKcmyk(64.3%, 0%, 80.4%, 56.1%)
CIE-LABlab(41.37, -39.57, 40.34)
CIE-LCHlch(41.37, 56.51, 134.45°)
OKLaboklab(48.15% -0.1085 0.0903)
OKLCHoklch(48.15% 0.141 140.2)
XYZxyz(6.8137, 12.0967, 2.7347)
Luminance0.1210 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287016 #5E1670
analogous
#557016 #287016 #167031
triadic
#287016 #162870 #701628
tetradic
#287016 #165570 #5E1670 #703116
square
#287016 #165570 #5E1670 #703116
split-complementary
#287016 #311670 #701655
monochromatic
#091A05 #163D0C #287016 #3AA320 #4DD52B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##287016#FFFFFF#000000##FFFFFF
##2870161.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)
#736502
Deuteranopia (green-blind)
#6A5F20
Tritanopia (blue-blind)
#1E6C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #287016;
/* rgb */ color: rgb(40, 112, 22);
/* oklch */ color: oklch(48.2% 0.141 140.2);
Tailwind
colors: {
  custom: {
    50: '#6c9a5b',
    500: '#287016',
    950: '#000000',
  },
}
SCSS
$custom: #287016;
$custom-light: #6c9a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#287016",
  "rgb": {
    "r": 40,
    "g": 112,
    "b": 22
  },
  "hsl": {
    "h": 108,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48152,
    "c": 0.14119,
    "h": 140.2
  },
  "luminance": 0.12097
}

Semantic roles & 50–950 ramp

primary
#287016
secondary
#913CA6
accent
#3EEAC8
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #287016

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

Preview Lab → · Contrast checker → · Palette generator →

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