#487C20#487C20

#487C20 is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 53.0% C 0.134 H 134.6°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#487C20
RGBrgb(72, 124, 32)
HSLhsl(94, 59%, 31%)
HSVhsv(94, 74%, 49%)
CMYKcmyk(41.9%, 0%, 74.2%, 51.4%)
CIE-LABlab(46.84, -33.71, 42.41)
CIE-LCHlch(46.84, 54.18, 128.48°)
OKLaboklab(53.04% -0.0943 0.0957)
OKLCHoklch(53.04% 0.134 134.6)
XYZxyz(10.1406, 15.8968, 3.9003)
Luminance0.1590 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487C20 #54207C
analogous
#767C20 #487C20 #207C26
triadic
#487C20 #20487C #7C2048
tetradic
#487C20 #20767C #54207C #7C2620
square
#487C20 #20767C #54207C #7C2620
split-complementary
#487C20 #26207C #7C2076
monochromatic
#101B07 #2C4B13 #487C20 #64AD2D #82CF47

Accessibility & contrast

On white

5.02
#487C20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#487C20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487C20
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487C20#FFFFFF#000000##FFFFFF
##487C201.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817210
Deuteranopia (green-blind)
#7A6D29
Tritanopia (blue-blind)
#47776A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #487c20;
/* rgb */ color: rgb(72, 124, 32);
/* oklch */ color: oklch(53.0% 0.134 134.6);
Tailwind
colors: {
  custom: {
    50: '#80a262',
    500: '#487c20',
    950: '#000000',
  },
}
SCSS
$custom: #487c20;
$custom-light: #80a262;
$custom-dark: #000000;
JSON
{
  "hex": "#487c20",
  "rgb": {
    "r": 72,
    "g": 124,
    "b": 32
  },
  "hsl": {
    "h": 93.913,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5304,
    "c": 0.13432,
    "h": 134.6
  },
  "luminance": 0.15897
}

Semantic roles & 50–950 ramp

primary
#487C20
secondary
#8349AF
accent
#46E29E
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #487C20

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

Preview Lab → · Contrast checker → · Palette generator →

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