#487522#487522

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

Color values

HEX#487522
RGBrgb(72, 117, 34)
HSLhsl(93, 55%, 30%)
HSVhsv(93, 71%, 46%)
CMYKcmyk(38.5%, 0%, 70.9%, 54.1%)
CIE-LABlab(44.54, -30.36, 39.22)
CIE-LCHlch(44.54, 49.60, 127.75°)
OKLaboklab(51.17% -0.085 0.0893)
OKLCHoklch(51.17% 0.123 133.6)
XYZxyz(9.3223, 14.2154, 3.7657)
Luminance0.1422 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487522 #4F2275
analogous
#727522 #487522 #227525
triadic
#487522 #224875 #752248
tetradic
#487522 #227275 #4F2275 #752522
square
#487522 #227275 #4F2275 #752522
split-complementary
#487522 #252275 #752272
monochromatic
#0F1807 #2B4614 #487522 #65A430 #83CA48

Accessibility & contrast

On white

5.46
#487522 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #487522
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487522#FFFFFF#000000##FFFFFF
##4875221.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #487522;
/* rgb */ color: rgb(72, 117, 34);
/* oklch */ color: oklch(51.2% 0.123 133.6);
Tailwind
colors: {
  custom: {
    50: '#7f9d62',
    500: '#487522',
    950: '#000000',
  },
}
SCSS
$custom: #487522;
$custom-light: #7f9d62;
$custom-dark: #000000;
JSON
{
  "hex": "#487522",
  "rgb": {
    "r": 72,
    "g": 117,
    "b": 34
  },
  "hsl": {
    "h": 92.53,
    "s": 54.967,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51166,
    "c": 0.12328,
    "h": 133.6
  },
  "luminance": 0.14216
}

Semantic roles & 50–950 ramp

primary
#487522
secondary
#7D4BA8
accent
#49DE9A
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E05
muted
#7C7E7A

Preview Lab

Preview with #487522

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

Preview Lab → · Contrast checker → · Palette generator →

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