#487F2A#487F2A

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

Color values

HEX#487F2A
RGBrgb(72, 127, 42)
HSLhsl(99, 50%, 33%)
HSVhsv(99, 67%, 50%)
CMYKcmyk(43.3%, 0%, 66.9%, 50.2%)
CIE-LABlab(47.91, -34.20, 39.27)
CIE-LCHlch(47.91, 52.07, 131.05°)
OKLaboklab(53.94% -0.0948 0.0905)
OKLCHoklch(53.94% 0.131 136.3)
XYZxyz(10.6795, 16.7230, 4.8552)
Luminance0.1672 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487F2A #612A7F
analogous
#727F2A #487F2A #2A7F37
triadic
#487F2A #2A487F #7F2A48
tetradic
#487F2A #2A727F #612A7F #7F372A
square
#487F2A #2A727F #612A7F #7F372A
split-complementary
#487F2A #372A7F #7F2A72
monochromatic
#14230C #2E511B #487F2A #62AD39 #82C95B

Accessibility & contrast

On white

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

On black

4.34
#487F2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##487F2A#FFFFFF#000000##FFFFFF
##487F2A1.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83751F
Deuteranopia (green-blind)
#7C7031
Tritanopia (blue-blind)
#467A6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #487f2a;
/* rgb */ color: rgb(72, 127, 42);
/* oklch */ color: oklch(53.9% 0.131 136.3);
Tailwind
colors: {
  custom: {
    50: '#80a468',
    500: '#487f2a',
    950: '#000000',
  },
}
SCSS
$custom: #487f2a;
$custom-light: #80a468;
$custom-dark: #000000;
JSON
{
  "hex": "#487f2a",
  "rgb": {
    "r": 72,
    "g": 127,
    "b": 42
  },
  "hsl": {
    "h": 98.824,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53943,
    "c": 0.13104,
    "h": 136.3
  },
  "luminance": 0.16724
}

Semantic roles & 50–950 ramp

primary
#487F2A
secondary
#8F57AE
accent
#4EDAA8
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #487F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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