#287420#287420

#287420 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.4% C 0.140 H 141.8°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#287420
RGBrgb(40, 116, 32)
HSLhsl(114, 57%, 29%)
HSVhsv(114, 72%, 45%)
CMYKcmyk(65.5%, 0%, 72.4%, 54.5%)
CIE-LABlab(42.83, -40.27, 37.87)
CIE-LCHlch(42.83, 55.28, 136.76°)
OKLaboklab(49.38% -0.1098 0.0866)
OKLCHoklch(49.38% 0.14 141.8)
XYZxyz(7.3808, 13.0455, 3.4953)
Luminance0.1305 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287420 #6C2074
analogous
#527420 #287420 #207442
triadic
#287420 #202874 #742028
tetradic
#287420 #205274 #6C2074 #744220
square
#287420 #205274 #6C2074 #744220
split-complementary
#287420 #422074 #742052
monochromatic
#081807 #174413 #287420 #39A42D #50CB43

Accessibility & contrast

On white

5.82
#287420 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#287420 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287420
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287420#FFFFFF#000000##FFFFFF
##2874201.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776913
Deuteranopia (green-blind)
#6E6328
Tritanopia (blue-blind)
#1B7063
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #287420;
/* rgb */ color: rgb(40, 116, 32);
/* oklch */ color: oklch(49.4% 0.140 141.8);
Tailwind
colors: {
  custom: {
    50: '#6c9d60',
    500: '#287420',
    950: '#000000',
  },
}
SCSS
$custom: #287420;
$custom-light: #6c9d60;
$custom-dark: #000000;
JSON
{
  "hex": "#287420",
  "rgb": {
    "r": 40,
    "g": 116,
    "b": 32
  },
  "hsl": {
    "h": 114.286,
    "s": 56.757,
    "l": 29.02
  },
  "oklch": {
    "l": 0.49384,
    "c": 0.13984,
    "h": 141.8
  },
  "luminance": 0.13046
}

Semantic roles & 50–950 ramp

primary
#287420
secondary
#9E48A8
accent
#48E0D2
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #287420

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

Preview Lab → · Contrast checker → · Palette generator →

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