#487526#487526

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

Color values

HEX#487526
RGBrgb(72, 117, 38)
HSLhsl(94, 51%, 30%)
HSVhsv(94, 68%, 46%)
CMYKcmyk(38.5%, 0%, 67.5%, 54.1%)
CIE-LABlab(44.57, -30.01, 37.47)
CIE-LCHlch(44.57, 48.01, 128.69°)
OKLaboklab(51.21% -0.0837 0.0862)
OKLCHoklch(51.21% 0.12 134.2)
XYZxyz(9.3834, 14.2398, 4.0875)
Luminance0.1424 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487526 #532675
analogous
#6F7526 #487526 #26752B
triadic
#487526 #264875 #752648
tetradic
#487526 #266F75 #532675 #752B26
square
#487526 #266F75 #532675 #752B26
split-complementary
#487526 #2B2675 #75266F
monochromatic
#0F1908 #2C4717 #487526 #64A335 #82C64F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##487526#FFFFFF#000000##FFFFFF
##4875261.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)
#7A6C1C
Deuteranopia (green-blind)
#73682C
Tritanopia (blue-blind)
#487065
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #487526;
/* rgb */ color: rgb(72, 117, 38);
/* oklch */ color: oklch(51.2% 0.120 134.2);
Tailwind
colors: {
  custom: {
    50: '#7f9d64',
    500: '#487526',
    950: '#000000',
  },
}
SCSS
$custom: #487526;
$custom-light: #7f9d64;
$custom-dark: #000000;
JSON
{
  "hex": "#487526",
  "rgb": {
    "r": 72,
    "g": 117,
    "b": 38
  },
  "hsl": {
    "h": 94.177,
    "s": 50.968,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51206,
    "c": 0.12013,
    "h": 134.2
  },
  "luminance": 0.1424
}

Semantic roles & 50–950 ramp

primary
#487526
secondary
#824FA7
accent
#4DDA9E
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #487526

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

Preview Lab → · Contrast checker → · Palette generator →

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