#287920#287920

#287920 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.8% C 0.146 H 141.8°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#287920
RGBrgb(40, 121, 32)
HSLhsl(115, 58%, 30%)
HSVhsv(115, 74%, 47%)
CMYKcmyk(66.9%, 0%, 73.6%, 52.5%)
CIE-LABlab(44.56, -42.16, 39.68)
CIE-LCHlch(44.56, 57.89, 136.74°)
OKLaboklab(50.81% -0.1149 0.0904)
OKLCHoklch(50.81% 0.146 141.8)
XYZxyz(7.9727, 14.2293, 3.6926)
Luminance0.1423 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287920 #712079
analogous
#547920 #287920 #207945
triadic
#287920 #202879 #792028
tetradic
#287920 #205479 #712079 #794520
square
#287920 #205479 #712079 #794520
split-complementary
#287920 #452079 #792054
monochromatic
#081806 #184913 #287920 #38A92D #52CE45

Accessibility & contrast

On white

5.46
#287920 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#287920 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287920
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287920#FFFFFF#000000##FFFFFF
##2879201.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D12
Deuteranopia (green-blind)
#726729
Tritanopia (blue-blind)
#187567
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #287920;
/* rgb */ color: rgb(40, 121, 32);
/* oklch */ color: oklch(50.8% 0.146 141.8);
Tailwind
colors: {
  custom: {
    50: '#6ea161',
    500: '#287920',
    950: '#000000',
  },
}
SCSS
$custom: #287920;
$custom-light: #6ea161;
$custom-dark: #000000;
JSON
{
  "hex": "#287920",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 32
  },
  "hsl": {
    "h": 114.607,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.50814,
    "c": 0.14621,
    "h": 141.8
  },
  "luminance": 0.1423
}

Semantic roles & 50–950 ramp

primary
#287920
secondary
#A349AC
accent
#46E1D3
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #287920

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

Preview Lab → · Contrast checker → · Palette generator →

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