#487528#487528

#487528 is a mid, moderate yellow-green. Relative luminance 0.143; OKLCH L 51.2% C 0.118 H 134.5°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#487528
RGBrgb(72, 117, 40)
HSLhsl(95, 49%, 31%)
HSVhsv(95, 66%, 46%)
CMYKcmyk(38.5%, 0%, 65.8%, 54.1%)
CIE-LABlab(44.59, -29.82, 36.56)
CIE-LCHlch(44.59, 47.18, 129.20°)
OKLaboklab(51.23% -0.083 0.0845)
OKLCHoklch(51.23% 0.118 134.5)
XYZxyz(9.4166, 14.2531, 4.2620)
Luminance0.1425 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487528 #552875
analogous
#6E7528 #487528 #28752E
triadic
#487528 #284875 #752848
tetradic
#487528 #286E75 #552875 #752E28
square
#487528 #286E75 #552875 #752E28
split-complementary
#487528 #2E2875 #75286E
monochromatic
#101A09 #2C4718 #487528 #64A338 #82C453

Accessibility & contrast

On white

5.45
#487528 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #487528
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487528#FFFFFF#000000##FFFFFF
##4875281.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796C1F
Deuteranopia (green-blind)
#73682E
Tritanopia (blue-blind)
#487165
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #487528;
/* rgb */ color: rgb(72, 117, 40);
/* oklch */ color: oklch(51.2% 0.118 134.5);
Tailwind
colors: {
  custom: {
    50: '#7e9d66',
    500: '#487528',
    950: '#000000',
  },
}
SCSS
$custom: #487528;
$custom-light: #7e9d66;
$custom-dark: #000000;
JSON
{
  "hex": "#487528",
  "rgb": {
    "r": 72,
    "g": 117,
    "b": 40
  },
  "hsl": {
    "h": 95.065,
    "s": 49.045,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51227,
    "c": 0.11847,
    "h": 134.5
  },
  "luminance": 0.14253
}

Semantic roles & 50–950 ramp

primary
#487528
secondary
#8452A7
accent
#4FD99F
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #487528

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

Preview Lab → · Contrast checker → · Palette generator →

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