#487524#487524

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

Color values

HEX#487524
RGBrgb(72, 117, 36)
HSLhsl(93, 53%, 30%)
HSVhsv(93, 69%, 46%)
CMYKcmyk(38.5%, 0%, 69.2%, 54.1%)
CIE-LABlab(44.56, -30.19, 38.36)
CIE-LCHlch(44.56, 48.81, 128.21°)
OKLaboklab(51.19% -0.0844 0.0878)
OKLCHoklch(51.19% 0.122 133.9)
XYZxyz(9.3520, 14.2272, 3.9221)
Luminance0.1423 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487524 #512475
analogous
#717524 #487524 #247528
triadic
#487524 #244875 #752448
tetradic
#487524 #247175 #512475 #752824
square
#487524 #247175 #512475 #752824
split-complementary
#487524 #282475 #752471
monochromatic
#0E1707 #2B4616 #487524 #65A432 #83C84C

Accessibility & contrast

On white

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

On black

3.85
#487524 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##487524#FFFFFF#000000##FFFFFF
##4875241.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C19
Deuteranopia (green-blind)
#73682B
Tritanopia (blue-blind)
#487064
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #487524;
/* rgb */ color: rgb(72, 117, 36);
/* oklch */ color: oklch(51.2% 0.122 133.9);
Tailwind
colors: {
  custom: {
    50: '#7f9d63',
    500: '#487524',
    950: '#000000',
  },
}
SCSS
$custom: #487524;
$custom-light: #7f9d63;
$custom-dark: #000000;
JSON
{
  "hex": "#487524",
  "rgb": {
    "r": 72,
    "g": 117,
    "b": 36
  },
  "hsl": {
    "h": 93.333,
    "s": 52.941,
    "l": 30
  },
  "oklch": {
    "l": 0.51185,
    "c": 0.12175,
    "h": 133.9
  },
  "luminance": 0.14228
}

Semantic roles & 50–950 ramp

primary
#487524
secondary
#7F4DA8
accent
#4BDC9C
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E05
muted
#7C7E7A

Preview Lab

Preview with #487524

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

Preview Lab → · Contrast checker → · Palette generator →

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