#487B19#487B19

#487B19 is a mid, vivid yellow-green. Relative luminance 0.156; OKLCH L 52.7% C 0.137 H 133.7°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#487B19
RGBrgb(72, 123, 25)
HSLhsl(91, 66%, 29%)
HSVhsv(91, 80%, 48%)
CMYKcmyk(41.5%, 0%, 79.7%, 51.8%)
CIE-LABlab(46.46, -33.74, 44.65)
CIE-LCHlch(46.46, 55.97, 127.08°)
OKLaboklab(52.72% -0.0949 0.0993)
OKLCHoklch(52.72% 0.137 133.7)
XYZxyz(9.9307, 15.6133, 3.4099)
Luminance0.1561 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487B19 #4C197B
analogous
#797B19 #487B19 #197B1B
triadic
#487B19 #19487B #7B1948
tetradic
#487B19 #19797B #4C197B #7B1B19
square
#487B19 #19797B #4C197B #7B1B19
split-complementary
#487B19 #1B197B #7B1979
monochromatic
#0F1905 #2A480F #487B19 #66AE23 #84D738

Accessibility & contrast

On white

5.09
#487B19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#487B19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487B19
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487B19#FFFFFF#000000##FFFFFF
##487B191.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807101
Deuteranopia (green-blind)
#796D23
Tritanopia (blue-blind)
#487669
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #487b19;
/* rgb */ color: rgb(72, 123, 25);
/* oklch */ color: oklch(52.7% 0.137 133.7);
Tailwind
colors: {
  custom: {
    50: '#80a15e',
    500: '#487b19',
    950: '#000000',
  },
}
SCSS
$custom: #487b19;
$custom-light: #80a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#487b19",
  "rgb": {
    "r": 72,
    "g": 123,
    "b": 25
  },
  "hsl": {
    "h": 91.224,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52718,
    "c": 0.13731,
    "h": 133.7
  },
  "luminance": 0.15614
}

Semantic roles & 50–950 ramp

primary
#487B19
secondary
#7A40AF
accent
#3FE997
background
#F8FAF5
surface
#EFF3E9
border
#CACDC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #487B19

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

Preview Lab → · Contrast checker → · Palette generator →

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