#487221#487221

#487221 is a mid, moderate yellow-green. Relative luminance 0.135; OKLCH L 50.3% C 0.120 H 132.8°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#487221
RGBrgb(72, 114, 33)
HSLhsl(91, 55%, 29%)
HSVhsv(91, 71%, 45%)
CMYKcmyk(36.8%, 0%, 71.1%, 55.3%)
CIE-LABlab(43.54, -29.04, 38.60)
CIE-LCHlch(43.54, 48.31, 126.95°)
OKLaboklab(50.35% -0.0815 0.0879)
OKLCHoklch(50.35% 0.12 132.8)
XYZxyz(8.9642, 13.5218, 3.5762)
Luminance0.1352 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487221 #4B2172
analogous
#717221 #487221 #217223
triadic
#487221 #214872 #722148
tetradic
#487221 #217172 #4B2172 #722321
square
#487221 #217172 #4B2172 #722321
split-complementary
#487221 #232172 #722171
monochromatic
#0F1807 #2A4313 #487221 #66A12F #84C944

Accessibility & contrast

On white

5.67
#487221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#487221 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487221
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487221#FFFFFF#000000##FFFFFF
##4872211.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776915
Deuteranopia (green-blind)
#716628
Tritanopia (blue-blind)
#496D62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #487221;
/* rgb */ color: rgb(72, 114, 33);
/* oklch */ color: oklch(50.3% 0.120 132.8);
Tailwind
colors: {
  custom: {
    50: '#7f9b61',
    500: '#487221',
    950: '#000000',
  },
}
SCSS
$custom: #487221;
$custom-light: #7f9b61;
$custom-dark: #000000;
JSON
{
  "hex": "#487221",
  "rgb": {
    "r": 72,
    "g": 114,
    "b": 33
  },
  "hsl": {
    "h": 91.111,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50347,
    "c": 0.11983,
    "h": 132.8
  },
  "luminance": 0.13522
}

Semantic roles & 50–950 ramp

primary
#487221
secondary
#7949A5
accent
#49DE97
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #487221

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

Preview Lab → · Contrast checker → · Palette generator →

#487221 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva