#487A21#487A21

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

Color values

HEX#487A21
RGBrgb(72, 122, 33)
HSLhsl(94, 57%, 30%)
HSVhsv(94, 73%, 48%)
CMYKcmyk(41%, 0%, 73%, 52.2%)
CIE-LABlab(46.19, -32.74, 41.34)
CIE-LCHlch(46.19, 52.74, 128.37°)
OKLaboklab(52.51% -0.0915 0.0936)
OKLCHoklch(52.51% 0.131 134.4)
XYZxyz(9.9063, 15.4061, 3.8903)
Luminance0.1541 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487A21 #53217A
analogous
#747A21 #487A21 #217A27
triadic
#487A21 #21487A #7A2148
tetradic
#487A21 #21747A #53217A #7A2721
square
#487A21 #21747A #53217A #7A2721
split-complementary
#487A21 #27217A #7A2174
monochromatic
#0F1A07 #2C4A14 #487A21 #64AA2E #82CD48

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##487A21#FFFFFF#000000##FFFFFF
##487A211.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)
#7F7013
Deuteranopia (green-blind)
#786C29
Tritanopia (blue-blind)
#477568
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #487a21;
/* rgb */ color: rgb(72, 122, 33);
/* oklch */ color: oklch(52.5% 0.131 134.4);
Tailwind
colors: {
  custom: {
    50: '#7fa162',
    500: '#487a21',
    950: '#000000',
  },
}
SCSS
$custom: #487a21;
$custom-light: #7fa162;
$custom-dark: #000000;
JSON
{
  "hex": "#487a21",
  "rgb": {
    "r": 72,
    "g": 122,
    "b": 33
  },
  "hsl": {
    "h": 93.708,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52508,
    "c": 0.13092,
    "h": 134.4
  },
  "luminance": 0.15407
}

Semantic roles & 50–950 ramp

primary
#487A21
secondary
#824AAD
accent
#47E19D
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0F05
muted
#7C7E7A

Preview Lab

Preview with #487A21

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

Preview Lab → · Contrast checker → · Palette generator →

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