#487F2C#487F2C

#487F2C is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 54.0% C 0.129 H 136.7°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#487F2C
RGBrgb(72, 127, 44)
HSLhsl(100, 49%, 34%)
HSVhsv(100, 65%, 50%)
CMYKcmyk(43.3%, 0%, 65.4%, 50.2%)
CIE-LABlab(47.93, -34.00, 38.37)
CIE-LCHlch(47.93, 51.27, 131.55°)
OKLaboklab(53.96% -0.0941 0.0888)
OKLCHoklch(53.96% 0.129 136.7)
XYZxyz(10.7162, 16.7377, 5.0484)
Luminance0.1674 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487F2C #632C7F
analogous
#717F2C #487F2C #2C7F39
triadic
#487F2C #2C487F #7F2C48
tetradic
#487F2C #2C717F #632C7F #7F392C
square
#487F2C #2C717F #632C7F #7F392C
split-complementary
#487F2C #392C7F #7F2C71
monochromatic
#14240D #2E521C #487F2C #62AC3C #82C75E

Accessibility & contrast

On white

4.83
#487F2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#487F2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487F2C
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487F2C#FFFFFF#000000##FFFFFF
##487F2C1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837522
Deuteranopia (green-blind)
#7C7033
Tritanopia (blue-blind)
#467A6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #487f2c;
/* rgb */ color: rgb(72, 127, 44);
/* oklch */ color: oklch(54.0% 0.129 136.7);
Tailwind
colors: {
  custom: {
    50: '#7fa469',
    500: '#487f2c',
    950: '#000000',
  },
}
SCSS
$custom: #487f2c;
$custom-light: #7fa469;
$custom-dark: #000000;
JSON
{
  "hex": "#487f2c",
  "rgb": {
    "r": 72,
    "g": 127,
    "b": 44
  },
  "hsl": {
    "h": 99.759,
    "s": 48.538,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53964,
    "c": 0.12941,
    "h": 136.7
  },
  "luminance": 0.16738
}

Semantic roles & 50–950 ramp

primary
#487F2C
secondary
#9159AD
accent
#50D8AA
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #487F2C

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

Preview Lab → · Contrast checker → · Palette generator →

#487F2C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva