#487D2C#487D2C

#487D2C is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.4% C 0.127 H 136.4°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#487D2C
RGBrgb(72, 125, 44)
HSLhsl(99, 48%, 33%)
HSVhsv(99, 65%, 49%)
CMYKcmyk(42.4%, 0%, 64.8%, 51%)
CIE-LABlab(47.27, -33.10, 37.64)
CIE-LCHlch(47.27, 50.13, 131.33°)
OKLaboklab(53.43% -0.0917 0.0873)
OKLCHoklch(53.43% 0.127 136.4)
XYZxyz(10.4604, 16.2262, 4.9632)
Luminance0.1623 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487D2C #612C7D
analogous
#707D2C #487D2C #2C7D38
triadic
#487D2C #2C487D #7D2C48
tetradic
#487D2C #2C707D #612C7D #7D382C
square
#487D2C #2C707D #612C7D #7D382C
split-complementary
#487D2C #382C7D #7D2C70
monochromatic
#14220C #2E501C #487D2C #62AA3C #82C65D

Accessibility & contrast

On white

4.95
#487D2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#487D2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487D2C
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487D2C#FFFFFF#000000##FFFFFF
##487D2C1.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817322
Deuteranopia (green-blind)
#7A6E32
Tritanopia (blue-blind)
#46796C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #487d2c;
/* rgb */ color: rgb(72, 125, 44);
/* oklch */ color: oklch(53.4% 0.127 136.4);
Tailwind
colors: {
  custom: {
    50: '#7fa369',
    500: '#487d2c',
    950: '#000000',
  },
}
SCSS
$custom: #487d2c;
$custom-light: #7fa369;
$custom-dark: #000000;
JSON
{
  "hex": "#487d2c",
  "rgb": {
    "r": 72,
    "g": 125,
    "b": 44
  },
  "hsl": {
    "h": 99.259,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53426,
    "c": 0.12657,
    "h": 136.4
  },
  "luminance": 0.16227
}

Semantic roles & 50–950 ramp

primary
#487D2C
secondary
#8F59AC
accent
#50D8A9
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #487D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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