#487C21#487C21

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

Color values

HEX#487C21
RGBrgb(72, 124, 33)
HSLhsl(94, 58%, 31%)
HSVhsv(94, 73%, 49%)
CMYKcmyk(41.9%, 0%, 73.4%, 51.4%)
CIE-LABlab(46.85, -33.64, 42.02)
CIE-LCHlch(46.85, 53.82, 128.68°)
OKLaboklab(53.05% -0.094 0.095)
OKLCHoklch(53.05% 0.134 134.7)
XYZxyz(10.1544, 15.9023, 3.9730)
Luminance0.1590 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487C21 #55217C
analogous
#757C21 #487C21 #217C27
triadic
#487C21 #21487C #7C2148
tetradic
#487C21 #21757C #55217C #7C2721
square
#487C21 #21757C #55217C #7C2721
split-complementary
#487C21 #27217C #7C2175
monochromatic
#101B07 #2C4C14 #487C21 #64AC2E #82CF49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##487C21#FFFFFF#000000##FFFFFF
##487C211.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)
#817212
Deuteranopia (green-blind)
#7A6D29
Tritanopia (blue-blind)
#47776A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #487c21;
/* rgb */ color: rgb(72, 124, 33);
/* oklch */ color: oklch(53.0% 0.134 134.7);
Tailwind
colors: {
  custom: {
    50: '#80a262',
    500: '#487c21',
    950: '#000000',
  },
}
SCSS
$custom: #487c21;
$custom-light: #80a262;
$custom-dark: #000000;
JSON
{
  "hex": "#487c21",
  "rgb": {
    "r": 72,
    "g": 124,
    "b": 33
  },
  "hsl": {
    "h": 94.286,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53049,
    "c": 0.13364,
    "h": 134.7
  },
  "luminance": 0.15903
}

Semantic roles & 50–950 ramp

primary
#487C21
secondary
#844AAF
accent
#47E19F
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #487C21

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

Preview Lab → · Contrast checker → · Palette generator →

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