#287216#287216

#287216 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.7% C 0.144 H 140.3°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#287216
RGBrgb(40, 114, 22)
HSLhsl(108, 68%, 27%)
HSVhsv(108, 81%, 45%)
CMYKcmyk(64.9%, 0%, 80.7%, 55.3%)
CIE-LABlab(42.07, -40.34, 41.02)
CIE-LCHlch(42.07, 57.53, 134.52°)
OKLaboklab(48.73% -0.1106 0.0917)
OKLCHoklch(48.73% 0.144 140.3)
XYZxyz(7.0369, 12.5430, 2.8091)
Luminance0.1254 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287216 #601672
analogous
#567216 #287216 #167232
triadic
#287216 #162872 #721628
tetradic
#287216 #165672 #601672 #723216
square
#287216 #165672 #601672 #723216
split-complementary
#287216 #321672 #721656
monochromatic
#091A05 #163F0C #287216 #3AA520 #4DD62C

Accessibility & contrast

On white

5.98
#287216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#287216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287216
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287216#FFFFFF#000000##FFFFFF
##2872161.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756701
Deuteranopia (green-blind)
#6C6120
Tritanopia (blue-blind)
#1D6E61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #287216;
/* rgb */ color: rgb(40, 114, 22);
/* oklch */ color: oklch(48.7% 0.144 140.3);
Tailwind
colors: {
  custom: {
    50: '#6d9b5b',
    500: '#287216',
    950: '#000000',
  },
}
SCSS
$custom: #287216;
$custom-light: #6d9b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#287216",
  "rgb": {
    "r": 40,
    "g": 114,
    "b": 22
  },
  "hsl": {
    "h": 108.261,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48728,
    "c": 0.14367,
    "h": 140.3
  },
  "luminance": 0.12544
}

Semantic roles & 50–950 ramp

primary
#287216
secondary
#933CA8
accent
#3DEBC9
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #287216

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

Preview Lab → · Contrast checker → · Palette generator →

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