#487131#487131

#487131 is a mid, moderate yellow-green. Relative luminance 0.134; OKLCH L 50.3% C 0.104 H 135.6°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#487131
RGBrgb(72, 113, 49)
HSLhsl(98, 40%, 32%)
HSVhsv(98, 57%, 44%)
CMYKcmyk(36.3%, 0%, 56.6%, 55.7%)
CIE-LABlab(43.37, -26.92, 30.69)
CIE-LCHlch(43.37, 40.82, 131.25°)
OKLaboklab(50.27% -0.0743 0.0728)
OKLCHoklch(50.27% 0.104 135.6)
XYZxyz(9.1318, 13.4093, 5.0122)
Luminance0.1341 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487131 #5A3171
analogous
#687131 #487131 #31713A
triadic
#487131 #314871 #713148
tetradic
#487131 #316871 #5A3171 #713A31
square
#487131 #316871 #5A3171 #713A31
split-complementary
#487131 #3A3171 #713168
monochromatic
#121C0C #2D461E #487131 #639C44 #82BB62

Accessibility & contrast

On white

5.70
#487131 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #487131
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487131#FFFFFF#000000##FFFFFF
##4871311.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75692B
Deuteranopia (green-blind)
#6F6535
Tritanopia (blue-blind)
#476D63
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #487131;
/* rgb */ color: rgb(72, 113, 49);
/* oklch */ color: oklch(50.3% 0.104 135.6);
Tailwind
colors: {
  custom: {
    50: '#7e9a6b',
    500: '#487131',
    950: '#000000',
  },
}
SCSS
$custom: #487131;
$custom-light: #7e9a6b;
$custom-dark: #000000;
JSON
{
  "hex": "#487131",
  "rgb": {
    "r": 72,
    "g": 113,
    "b": 49
  },
  "hsl": {
    "h": 98.438,
    "s": 39.506,
    "l": 31.765
  },
  "oklch": {
    "l": 0.50265,
    "c": 0.10408,
    "h": 135.6
  },
  "luminance": 0.1341
}

Semantic roles & 50–950 ramp

primary
#487131
secondary
#895CA2
accent
#58CFA5
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E07
muted
#7C7E7A

Preview Lab

Preview with #487131

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

Preview Lab → · Contrast checker → · Palette generator →

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