#287520#287520

#287520 is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.7% C 0.141 H 141.8°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#287520
RGBrgb(40, 117, 32)
HSLhsl(114, 57%, 29%)
HSVhsv(114, 73%, 46%)
CMYKcmyk(65.8%, 0%, 72.6%, 54.1%)
CIE-LABlab(43.18, -40.65, 38.23)
CIE-LCHlch(43.18, 55.81, 136.75°)
OKLaboklab(49.67% -0.1109 0.0873)
OKLCHoklch(49.67% 0.141 141.8)
XYZxyz(7.4967, 13.2772, 3.5339)
Luminance0.1328 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287520 #6D2075
analogous
#537520 #287520 #207543
triadic
#287520 #202875 #752028
tetradic
#287520 #205375 #6D2075 #754320
square
#287520 #205375 #6D2075 #754320
split-complementary
#287520 #432075 #752053
monochromatic
#081807 #184513 #287520 #38A52D #50CC44

Accessibility & contrast

On white

5.74
#287520 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#287520 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287520
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287520#FFFFFF#000000##FFFFFF
##2875201.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A13
Deuteranopia (green-blind)
#6F6428
Tritanopia (blue-blind)
#1A7164
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #287520;
/* rgb */ color: rgb(40, 117, 32);
/* oklch */ color: oklch(49.7% 0.141 141.8);
Tailwind
colors: {
  custom: {
    50: '#6d9e61',
    500: '#287520',
    950: '#000000',
  },
}
SCSS
$custom: #287520;
$custom-light: #6d9e61;
$custom-dark: #000000;
JSON
{
  "hex": "#287520",
  "rgb": {
    "r": 40,
    "g": 117,
    "b": 32
  },
  "hsl": {
    "h": 114.353,
    "s": 57.047,
    "l": 29.216
  },
  "oklch": {
    "l": 0.49671,
    "c": 0.14113,
    "h": 141.8
  },
  "luminance": 0.13278
}

Semantic roles & 50–950 ramp

primary
#287520
secondary
#9F48A8
accent
#47E0D2
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #287520

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

Preview Lab → · Contrast checker → · Palette generator →

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