#487A20#487A20

#487A20 is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.5% C 0.132 H 134.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#487A20
RGBrgb(72, 122, 32)
HSLhsl(93, 58%, 30%)
HSVhsv(93, 74%, 48%)
CMYKcmyk(41%, 0%, 73.8%, 52.2%)
CIE-LABlab(46.18, -32.82, 41.74)
CIE-LCHlch(46.18, 53.10, 128.17°)
OKLaboklab(52.5% -0.0918 0.0943)
OKLCHoklch(52.5% 0.132 134.2)
XYZxyz(9.8925, 15.4006, 3.8176)
Luminance0.1540 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487A20 #52207A
analogous
#757A20 #487A20 #207A25
triadic
#487A20 #20487A #7A2048
tetradic
#487A20 #20757A #52207A #7A2520
square
#487A20 #20757A #52207A #7A2520
split-complementary
#487A20 #25207A #7A2075
monochromatic
#0F1907 #2B4A13 #487A20 #65AA2D #83CE46

Accessibility & contrast

On white

5.15
#487A20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#487A20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487A20
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487A20#FFFFFF#000000##FFFFFF
##487A201.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7011
Deuteranopia (green-blind)
#786C28
Tritanopia (blue-blind)
#477568
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #487a20;
/* rgb */ color: rgb(72, 122, 32);
/* oklch */ color: oklch(52.5% 0.132 134.2);
Tailwind
colors: {
  custom: {
    50: '#7fa162',
    500: '#487a20',
    950: '#000000',
  },
}
SCSS
$custom: #487a20;
$custom-light: #7fa162;
$custom-dark: #000000;
JSON
{
  "hex": "#487a20",
  "rgb": {
    "r": 72,
    "g": 122,
    "b": 32
  },
  "hsl": {
    "h": 93.333,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.525,
    "c": 0.13161,
    "h": 134.2
  },
  "luminance": 0.15401
}

Semantic roles & 50–950 ramp

primary
#487A20
secondary
#8049AD
accent
#46E29D
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0F05
muted
#7C7E7A

Preview Lab

Preview with #487A20

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

Preview Lab → · Contrast checker → · Palette generator →

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