#487124#487124

#487124 is a mid, moderate yellow-green. Relative luminance 0.133; OKLCH L 50.1% C 0.116 H 133.1°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#487124
RGBrgb(72, 113, 36)
HSLhsl(92, 52%, 29%)
HSVhsv(92, 68%, 44%)
CMYKcmyk(36.3%, 0%, 68.1%, 55.7%)
CIE-LABlab(43.23, -28.30, 36.94)
CIE-LCHlch(43.23, 46.54, 127.46°)
OKLaboklab(50.11% -0.0792 0.0848)
OKLCHoklch(50.11% 0.116 133.1)
XYZxyz(8.8959, 13.3150, 3.7701)
Luminance0.1331 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487124 #4D2471
analogous
#6F7124 #487124 #247127
triadic
#487124 #244871 #712448
tetradic
#487124 #246F71 #4D2471 #712724
square
#487124 #246F71 #4D2471 #712724
split-complementary
#487124 #272471 #71246F
monochromatic
#0F1707 #2A4315 #487124 #669F33 #84C54A

Accessibility & contrast

On white

5.73
#487124 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #487124
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487124#FFFFFF#000000##FFFFFF
##4871241.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76681A
Deuteranopia (green-blind)
#70652A
Tritanopia (blue-blind)
#486C61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #487124;
/* rgb */ color: rgb(72, 113, 36);
/* oklch */ color: oklch(50.1% 0.116 133.1);
Tailwind
colors: {
  custom: {
    50: '#7e9a63',
    500: '#487124',
    950: '#000000',
  },
}
SCSS
$custom: #487124;
$custom-light: #7e9a63;
$custom-dark: #000000;
JSON
{
  "hex": "#487124",
  "rgb": {
    "r": 72,
    "g": 113,
    "b": 36
  },
  "hsl": {
    "h": 91.948,
    "s": 51.678,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50106,
    "c": 0.11603,
    "h": 133.1
  },
  "luminance": 0.13315
}

Semantic roles & 50–950 ramp

primary
#487124
secondary
#7B4DA4
accent
#4DDB99
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E05
muted
#7C7E7A

Preview Lab

Preview with #487124

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

Preview Lab → · Contrast checker → · Palette generator →

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