#487D29#487D29

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

Color values

HEX#487D29
RGBrgb(72, 125, 41)
HSLhsl(98, 51%, 33%)
HSVhsv(98, 67%, 49%)
CMYKcmyk(42.4%, 0%, 67.2%, 51%)
CIE-LABlab(47.24, -33.40, 38.99)
CIE-LCHlch(47.24, 51.34, 130.58°)
OKLaboklab(53.39% -0.0927 0.0898)
OKLCHoklch(53.39% 0.129 135.9)
XYZxyz(10.4061, 16.2045, 4.6769)
Luminance0.1620 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487D29 #5E297D
analogous
#727D29 #487D29 #297D34
triadic
#487D29 #29487D #7D2948
tetradic
#487D29 #29727D #5E297D #7D3429
square
#487D29 #29727D #5E297D #7D3429
split-complementary
#487D29 #34297D #7D2972
monochromatic
#13210B #2D4F1A #487D29 #63AB38 #82C858

Accessibility & contrast

On white

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

On black

4.24
#487D29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##487D29#FFFFFF#000000##FFFFFF
##487D291.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81731E
Deuteranopia (green-blind)
#7A6E30
Tritanopia (blue-blind)
#46786C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #487d29;
/* rgb */ color: rgb(72, 125, 41);
/* oklch */ color: oklch(53.4% 0.129 135.9);
Tailwind
colors: {
  custom: {
    50: '#7fa367',
    500: '#487d29',
    950: '#000000',
  },
}
SCSS
$custom: #487d29;
$custom-light: #7fa367;
$custom-dark: #000000;
JSON
{
  "hex": "#487d29",
  "rgb": {
    "r": 72,
    "g": 125,
    "b": 41
  },
  "hsl": {
    "h": 97.857,
    "s": 50.602,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53394,
    "c": 0.12904,
    "h": 135.9
  },
  "luminance": 0.16205
}

Semantic roles & 50–950 ramp

primary
#487D29
secondary
#8D54AE
accent
#4EDAA6
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #487D29

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

Preview Lab → · Contrast checker → · Palette generator →

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