#487531#487531

#487531 is a mid, moderate yellow-green. Relative luminance 0.143; OKLCH L 51.3% C 0.110 H 136.3°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#487531
RGBrgb(72, 117, 49)
HSLhsl(100, 41%, 33%)
HSVhsv(100, 58%, 46%)
CMYKcmyk(38.5%, 0%, 58.1%, 54.1%)
CIE-LABlab(44.69, -28.84, 32.24)
CIE-LCHlch(44.69, 43.26, 131.81°)
OKLaboklab(51.34% -0.0796 0.0762)
OKLCHoklch(51.34% 0.11 136.3)
XYZxyz(9.5879, 14.3216, 5.1643)
Luminance0.1432 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487531 #5E3175
analogous
#6A7531 #487531 #31753C
triadic
#487531 #314875 #753148
tetradic
#487531 #316A75 #5E3175 #753C31
square
#487531 #316A75 #5E3175 #753C31
split-complementary
#487531 #3C3175 #75316A
monochromatic
#131F0D #2D4A1F #487531 #63A043 #82BE63

Accessibility & contrast

On white

5.43
#487531 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#487531 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487531
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487531#FFFFFF#000000##FFFFFF
##4875311.005.433.865.43
#FFFFFF5.431.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796C2A
Deuteranopia (green-blind)
#736836
Tritanopia (blue-blind)
#477166
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #487531;
/* rgb */ color: rgb(72, 117, 49);
/* oklch */ color: oklch(51.3% 0.110 136.3);
Tailwind
colors: {
  custom: {
    50: '#7e9d6b',
    500: '#487531',
    950: '#000000',
  },
}
SCSS
$custom: #487531;
$custom-light: #7e9d6b;
$custom-dark: #000000;
JSON
{
  "hex": "#487531",
  "rgb": {
    "r": 72,
    "g": 117,
    "b": 49
  },
  "hsl": {
    "h": 99.706,
    "s": 40.964,
    "l": 32.549
  },
  "oklch": {
    "l": 0.51337,
    "c": 0.11023,
    "h": 136.3
  },
  "luminance": 0.14322
}

Semantic roles & 50–950 ramp

primary
#487531
secondary
#8D5DA5
accent
#57D1A8
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E07
muted
#7C7E7A

Preview Lab

Preview with #487531

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

Preview Lab → · Contrast checker → · Palette generator →

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