#487B29#487B29

#487B29 is a mid, vivid yellow-green. Relative luminance 0.157; OKLCH L 52.9% C 0.126 H 135.6°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#487B29
RGBrgb(72, 123, 41)
HSLhsl(97, 50%, 32%)
HSVhsv(97, 67%, 48%)
CMYKcmyk(41.5%, 0%, 66.7%, 51.8%)
CIE-LABlab(46.58, -32.49, 38.28)
CIE-LCHlch(46.58, 50.21, 130.33°)
OKLaboklab(52.86% -0.0902 0.0883)
OKLCHoklch(52.86% 0.126 135.6)
XYZxyz(10.1554, 15.7032, 4.5933)
Luminance0.1570 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487B29 #5C297B
analogous
#717B29 #487B29 #297B33
triadic
#487B29 #29487B #7B2948
tetradic
#487B29 #29717B #5C297B #7B3329
square
#487B29 #29717B #5C297B #7B3329
split-complementary
#487B29 #33297B #7B2971
monochromatic
#121F0A #2D4D1A #487B29 #63A938 #82C757

Accessibility & contrast

On white

5.07
#487B29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#487B29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487B29
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487B29#FFFFFF#000000##FFFFFF
##487B291.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F711F
Deuteranopia (green-blind)
#786D30
Tritanopia (blue-blind)
#47766A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #487b29;
/* rgb */ color: rgb(72, 123, 41);
/* oklch */ color: oklch(52.9% 0.126 135.6);
Tailwind
colors: {
  custom: {
    50: '#7fa167',
    500: '#487b29',
    950: '#000000',
  },
}
SCSS
$custom: #487b29;
$custom-light: #7fa167;
$custom-dark: #000000;
JSON
{
  "hex": "#487b29",
  "rgb": {
    "r": 72,
    "g": 123,
    "b": 41
  },
  "hsl": {
    "h": 97.317,
    "s": 50,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52855,
    "c": 0.12622,
    "h": 135.6
  },
  "luminance": 0.15704
}

Semantic roles & 50–950 ramp

primary
#487B29
secondary
#8B53AC
accent
#4EDAA5
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #487B29

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

Preview Lab → · Contrast checker → · Palette generator →

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