#287815#287815

#287815 is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.4% C 0.151 H 140.5°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#287815
RGBrgb(40, 120, 21)
HSLhsl(108, 70%, 28%)
HSVhsv(108, 83%, 47%)
CMYKcmyk(66.7%, 0%, 82.5%, 52.9%)
CIE-LABlab(44.14, -42.64, 43.34)
CIE-LCHlch(44.14, 60.80, 134.53°)
OKLaboklab(50.45% -0.1169 0.0964)
OKLCHoklch(50.45% 0.151 140.5)
XYZxyz(7.7265, 13.9374, 2.9923)
Luminance0.1394 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287815 #651578
analogous
#597815 #287815 #157834
triadic
#287815 #152878 #781528
tetradic
#287815 #155978 #651578 #783415
square
#287815 #155978 #651578 #783415
split-complementary
#287815 #341578 #781559
monochromatic
#091A05 #17440C #287815 #39AC1E #4EDA2D

Accessibility & contrast

On white

5.54
#287815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#287815 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287815
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287815#FFFFFF#000000##FFFFFF
##2878151.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#726621
Tritanopia (blue-blind)
#1B7466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #287815;
/* rgb */ color: rgb(40, 120, 21);
/* oklch */ color: oklch(50.4% 0.151 140.5);
Tailwind
colors: {
  custom: {
    50: '#6ea05c',
    500: '#287815',
    950: '#000000',
  },
}
SCSS
$custom: #287815;
$custom-light: #6ea05c;
$custom-dark: #000000;
JSON
{
  "hex": "#287815",
  "rgb": {
    "r": 40,
    "g": 120,
    "b": 21
  },
  "hsl": {
    "h": 108.485,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50446,
    "c": 0.15149,
    "h": 140.5
  },
  "luminance": 0.13938
}

Semantic roles & 50–950 ramp

primary
#287815
secondary
#983BAE
accent
#3BEDCB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F04
muted
#7B7E79

Preview Lab

Preview with #287815

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

Preview Lab → · Contrast checker → · Palette generator →

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