#487529#487529

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

Color values

HEX#487529
RGBrgb(72, 117, 41)
HSLhsl(96, 48%, 31%)
HSVhsv(96, 65%, 46%)
CMYKcmyk(38.5%, 0%, 65%, 54.1%)
CIE-LABlab(44.60, -29.72, 36.10)
CIE-LCHlch(44.60, 46.76, 129.46°)
OKLaboklab(51.24% -0.0827 0.0837)
OKLCHoklch(51.24% 0.118 134.7)
XYZxyz(9.4338, 14.2600, 4.3528)
Luminance0.1426 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487529 #562975
analogous
#6E7529 #487529 #297530
triadic
#487529 #294875 #752948
tetradic
#487529 #296E75 #562975 #753029
square
#487529 #296E75 #562975 #753029
split-complementary
#487529 #302975 #75296E
monochromatic
#101A09 #2C4819 #487529 #64A239 #82C355

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##487529#FFFFFF#000000##FFFFFF
##4875291.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)
#796C20
Deuteranopia (green-blind)
#73682F
Tritanopia (blue-blind)
#477165
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #487529;
/* rgb */ color: rgb(72, 117, 41);
/* oklch */ color: oklch(51.2% 0.118 134.7);
Tailwind
colors: {
  custom: {
    50: '#7e9d66',
    500: '#487529',
    950: '#000000',
  },
}
SCSS
$custom: #487529;
$custom-light: #7e9d66;
$custom-dark: #000000;
JSON
{
  "hex": "#487529",
  "rgb": {
    "r": 72,
    "g": 117,
    "b": 41
  },
  "hsl": {
    "h": 95.526,
    "s": 48.101,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51238,
    "c": 0.1176,
    "h": 134.7
  },
  "luminance": 0.1426
}

Semantic roles & 50–950 ramp

primary
#487529
secondary
#8553A7
accent
#50D8A0
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #487529

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

Preview Lab → · Contrast checker → · Palette generator →

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