#487C29#487C29

#487C29 is a mid, vivid yellow-green. Relative luminance 0.160; OKLCH L 53.1% C 0.128 H 135.8°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#487C29
RGBrgb(72, 124, 41)
HSLhsl(98, 50%, 32%)
HSVhsv(98, 67%, 49%)
CMYKcmyk(41.9%, 0%, 66.9%, 51.4%)
CIE-LABlab(46.91, -32.95, 38.64)
CIE-LCHlch(46.91, 50.78, 130.46°)
OKLaboklab(53.12% -0.0915 0.089)
OKLCHoklch(53.12% 0.128 135.8)
XYZxyz(10.2801, 15.9526, 4.6349)
Luminance0.1595 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487C29 #5D297C
analogous
#727C29 #487C29 #297C33
triadic
#487C29 #29487C #7C2948
tetradic
#487C29 #29727C #5D297C #7C3329
square
#487C29 #29727C #5D297C #7C3329
split-complementary
#487C29 #33297C #7C2972
monochromatic
#13200B #2D4E1A #487C29 #63AA38 #82C858

Accessibility & contrast

On white

5.01
#487C29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#487C29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487C29
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487C29#FFFFFF#000000##FFFFFF
##487C291.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80721F
Deuteranopia (green-blind)
#796E30
Tritanopia (blue-blind)
#46776B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #487c29;
/* rgb */ color: rgb(72, 124, 41);
/* oklch */ color: oklch(53.1% 0.128 135.8);
Tailwind
colors: {
  custom: {
    50: '#7fa267',
    500: '#487c29',
    950: '#000000',
  },
}
SCSS
$custom: #487c29;
$custom-light: #7fa267;
$custom-dark: #000000;
JSON
{
  "hex": "#487c29",
  "rgb": {
    "r": 72,
    "g": 124,
    "b": 41
  },
  "hsl": {
    "h": 97.59,
    "s": 50.303,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53124,
    "c": 0.12764,
    "h": 135.8
  },
  "luminance": 0.15953
}

Semantic roles & 50–950 ramp

primary
#487C29
secondary
#8C54AD
accent
#4EDAA6
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #487C29

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

Preview Lab → · Contrast checker → · Palette generator →

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