#487B20#487B20

#487B20 is a mid, vivid yellow-green. Relative luminance 0.156; OKLCH L 52.8% C 0.133 H 134.4°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#487B20
RGBrgb(72, 123, 32)
HSLhsl(94, 59%, 30%)
HSVhsv(94, 74%, 48%)
CMYKcmyk(41.5%, 0%, 74%, 51.8%)
CIE-LABlab(46.51, -33.26, 42.08)
CIE-LCHlch(46.51, 53.64, 128.33°)
OKLaboklab(52.77% -0.093 0.095)
OKLCHoklch(52.77% 0.133 134.4)
XYZxyz(10.0160, 15.6474, 3.8587)
Luminance0.1565 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487B20 #53207B
analogous
#767B20 #487B20 #207B25
triadic
#487B20 #20487B #7B2048
tetradic
#487B20 #20767B #53207B #7B2520
square
#487B20 #20767B #53207B #7B2520
split-complementary
#487B20 #25207B #7B2076
monochromatic
#0F1A07 #2C4A13 #487B20 #64AC2D #82CF46

Accessibility & contrast

On white

5.09
#487B20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#487B20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487B20
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487B20#FFFFFF#000000##FFFFFF
##487B201.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807111
Deuteranopia (green-blind)
#796D29
Tritanopia (blue-blind)
#477669
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #487b20;
/* rgb */ color: rgb(72, 123, 32);
/* oklch */ color: oklch(52.8% 0.133 134.4);
Tailwind
colors: {
  custom: {
    50: '#80a162',
    500: '#487b20',
    950: '#000000',
  },
}
SCSS
$custom: #487b20;
$custom-light: #80a162;
$custom-dark: #000000;
JSON
{
  "hex": "#487b20",
  "rgb": {
    "r": 72,
    "g": 123,
    "b": 32
  },
  "hsl": {
    "h": 93.626,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.5277,
    "c": 0.13296,
    "h": 134.4
  },
  "luminance": 0.15648
}

Semantic roles & 50–950 ramp

primary
#487B20
secondary
#8249AE
accent
#46E29D
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0A0F05
muted
#7C7F7A

Preview Lab

Preview with #487B20

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

Preview Lab → · Contrast checker → · Palette generator →

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