#287532#287532

#287532 is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.9% C 0.126 H 145.6°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#287532
RGBrgb(40, 117, 50)
HSLhsl(128, 49%, 31%)
HSVhsv(128, 66%, 46%)
CMYKcmyk(65.8%, 0%, 57.3%, 54.1%)
CIE-LABlab(43.36, -38.49, 29.83)
CIE-LCHlch(43.36, 48.70, 142.23°)
OKLaboklab(49.89% -0.1041 0.0712)
OKLCHoklch(49.89% 0.126 145.6)
XYZxyz(7.8116, 13.4032, 5.1924)
Luminance0.1340 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287532 #75286B
analogous
#447528 #287532 #287558
triadic
#287532 #322875 #753228
tetradic
#287532 #284475 #75286B #755828
square
#287532 #284475 #75286B #755828
split-complementary
#287532 #582875 #752844
monochromatic
#091A0B #18471F #287532 #38A345 #53C462

Accessibility & contrast

On white

5.71
#287532 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#287532 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287532
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287532#FFFFFF#000000##FFFFFF
##2875321.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776A2C
Deuteranopia (green-blind)
#6D6437
Tritanopia (blue-blind)
#157266
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #287532;
/* rgb */ color: rgb(40, 117, 50);
/* oklch */ color: oklch(49.9% 0.126 145.6);
Tailwind
colors: {
  custom: {
    50: '#6c9d6c',
    500: '#287532',
    950: '#000000',
  },
}
SCSS
$custom: #287532;
$custom-light: #6c9d6c;
$custom-dark: #000000;
JSON
{
  "hex": "#287532",
  "rgb": {
    "r": 40,
    "g": 117,
    "b": 50
  },
  "hsl": {
    "h": 127.792,
    "s": 49.045,
    "l": 30.784
  },
  "oklch": {
    "l": 0.49885,
    "c": 0.12615,
    "h": 145.6
  },
  "luminance": 0.13404
}

Semantic roles & 50–950 ramp

primary
#287532
secondary
#A7529C
accent
#4FC7D9
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #287532

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

Preview Lab → · Contrast checker → · Palette generator →

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