#487521#487521

#487521 is a mid, vivid yellow-green. Relative luminance 0.142; OKLCH L 51.2% C 0.124 H 133.5°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#487521
RGBrgb(72, 117, 33)
HSLhsl(92, 56%, 29%)
HSVhsv(92, 72%, 46%)
CMYKcmyk(38.5%, 0%, 71.8%, 54.1%)
CIE-LABlab(44.53, -30.45, 39.64)
CIE-LCHlch(44.53, 49.98, 127.53°)
OKLaboklab(51.16% -0.0853 0.09)
OKLCHoklch(51.16% 0.124 133.5)
XYZxyz(9.3081, 14.2097, 3.6908)
Luminance0.1421 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487521 #4E2175
analogous
#727521 #487521 #217524
triadic
#487521 #214875 #752148
tetradic
#487521 #217275 #4E2175 #752421
square
#487521 #217275 #4E2175 #752421
split-complementary
#487521 #242175 #752172
monochromatic
#0F1807 #2B4514 #487521 #65A52E #83CB46

Accessibility & contrast

On white

5.47
#487521 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#487521 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487521
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487521#FFFFFF#000000##FFFFFF
##4875211.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C14
Deuteranopia (green-blind)
#746828
Tritanopia (blue-blind)
#487064
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #487521;
/* rgb */ color: rgb(72, 117, 33);
/* oklch */ color: oklch(51.2% 0.124 133.5);
Tailwind
colors: {
  custom: {
    50: '#7f9d61',
    500: '#487521',
    950: '#000000',
  },
}
SCSS
$custom: #487521;
$custom-light: #7f9d61;
$custom-dark: #000000;
JSON
{
  "hex": "#487521",
  "rgb": {
    "r": 72,
    "g": 117,
    "b": 33
  },
  "hsl": {
    "h": 92.143,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51157,
    "c": 0.12403,
    "h": 133.5
  },
  "luminance": 0.1421
}

Semantic roles & 50–950 ramp

primary
#487521
secondary
#7C4AA8
accent
#49DF99
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #487521

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

Preview Lab → · Contrast checker → · Palette generator →

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