#487F11#487F11

#487F11 is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 53.8% C 0.146 H 133.8°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#487F11
RGBrgb(72, 127, 17)
HSLhsl(90, 76%, 28%)
HSVhsv(90, 87%, 50%)
CMYKcmyk(43.3%, 0%, 86.6%, 50.2%)
CIE-LABlab(47.75, -35.91, 48.27)
CIE-LCHlch(47.75, 60.16, 126.65°)
OKLaboklab(53.76% -0.1012 0.1056)
OKLCHoklch(53.76% 0.146 133.8)
XYZxyz(10.3629, 16.5964, 3.1876)
Luminance0.1660 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487F11 #48117F
analogous
#7F7F11 #487F11 #117F11
triadic
#487F11 #11487F #7F1148
tetradic
#487F11 #117F7F #48117F #7F1111
square
#487F11 #117F7F #48117F #7F1111
split-complementary
#487F11 #11117F #7F117F
monochromatic
#0F1B04 #29490A #487F11 #67B518 #85E228

Accessibility & contrast

On white

4.86
#487F11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#487F11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487F11
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487F11#FFFFFF#000000##FFFFFF
##487F111.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7D701F
Tritanopia (blue-blind)
#487A6C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #487f11;
/* rgb */ color: rgb(72, 127, 17);
/* oklch */ color: oklch(53.8% 0.146 133.8);
Tailwind
colors: {
  custom: {
    50: '#81a45c',
    500: '#487f11',
    950: '#000000',
  },
}
SCSS
$custom: #487f11;
$custom-light: #81a45c;
$custom-dark: #000000;
JSON
{
  "hex": "#487f11",
  "rgb": {
    "r": 72,
    "g": 127,
    "b": 17
  },
  "hsl": {
    "h": 90,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.53758,
    "c": 0.14626,
    "h": 133.8
  },
  "luminance": 0.16597
}

Semantic roles & 50–950 ramp

primary
#487F11
secondary
#7637B5
accent
#35F394
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F04
muted
#7C7F79

Preview Lab

Preview with #487F11

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

Preview Lab → · Contrast checker → · Palette generator →

#487F11 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva