#487B21#487B21

#487B21 is a mid, vivid yellow-green. Relative luminance 0.157; OKLCH L 52.8% C 0.132 H 134.5°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#487B21
RGBrgb(72, 123, 33)
HSLhsl(94, 58%, 31%)
HSVhsv(94, 73%, 48%)
CMYKcmyk(41.5%, 0%, 73.2%, 51.8%)
CIE-LABlab(46.52, -33.19, 41.68)
CIE-LCHlch(46.52, 53.28, 128.53°)
OKLaboklab(52.78% -0.0928 0.0943)
OKLCHoklch(52.78% 0.132 134.5)
XYZxyz(10.0298, 15.6529, 3.9314)
Luminance0.1565 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487B21 #54217B
analogous
#757B21 #487B21 #217B27
triadic
#487B21 #21487B #7B2148
tetradic
#487B21 #21757B #54217B #7B2721
square
#487B21 #21757B #54217B #7B2721
split-complementary
#487B21 #27217B #7B2175
monochromatic
#101A07 #2C4B14 #487B21 #64AB2E #82CE48

Accessibility & contrast

On white

5.08
#487B21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #487B21
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487B21#FFFFFF#000000##FFFFFF
##487B211.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #487b21;
/* rgb */ color: rgb(72, 123, 33);
/* oklch */ color: oklch(52.8% 0.132 134.5);
Tailwind
colors: {
  custom: {
    50: '#80a162',
    500: '#487b21',
    950: '#000000',
  },
}
SCSS
$custom: #487b21;
$custom-light: #80a162;
$custom-dark: #000000;
JSON
{
  "hex": "#487b21",
  "rgb": {
    "r": 72,
    "g": 123,
    "b": 33
  },
  "hsl": {
    "h": 94,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52779,
    "c": 0.13228,
    "h": 134.5
  },
  "luminance": 0.15653
}

Semantic roles & 50–950 ramp

primary
#487B21
secondary
#834AAE
accent
#47E19E
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0A0F05
muted
#7C7F7A

Preview Lab

Preview with #487B21

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

Preview Lab → · Contrast checker → · Palette generator →

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