#487B1A#487B1A

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

Color values

HEX#487B1A
RGBrgb(72, 123, 26)
HSLhsl(92, 65%, 29%)
HSVhsv(92, 79%, 48%)
CMYKcmyk(41.5%, 0%, 78.9%, 51.8%)
CIE-LABlab(46.47, -33.68, 44.31)
CIE-LCHlch(46.47, 55.66, 127.24°)
OKLaboklab(52.73% -0.0946 0.0987)
OKLCHoklch(52.73% 0.137 133.8)
XYZxyz(9.9417, 15.6177, 3.4678)
Luminance0.1562 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487B1A #4D1A7B
analogous
#797B1A #487B1A #1A7B1C
triadic
#487B1A #1A487B #7B1A48
tetradic
#487B1A #1A797B #4D1A7B #7B1C1A
square
#487B1A #1A797B #4D1A7B #7B1C1A
split-complementary
#487B1A #1C1A7B #7B1A79
monochromatic
#0F1905 #2A480F #487B1A #66AE25 #84D53A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##487B1A#FFFFFF#000000##FFFFFF
##487B1A1.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)
#807104
Deuteranopia (green-blind)
#796D24
Tritanopia (blue-blind)
#487669
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #487b1a;
/* rgb */ color: rgb(72, 123, 26);
/* oklch */ color: oklch(52.7% 0.137 133.8);
Tailwind
colors: {
  custom: {
    50: '#80a15f',
    500: '#487b1a',
    950: '#000000',
  },
}
SCSS
$custom: #487b1a;
$custom-light: #80a15f;
$custom-dark: #000000;
JSON
{
  "hex": "#487b1a",
  "rgb": {
    "r": 72,
    "g": 123,
    "b": 26
  },
  "hsl": {
    "h": 91.546,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52725,
    "c": 0.13674,
    "h": 133.8
  },
  "luminance": 0.15618
}

Semantic roles & 50–950 ramp

primary
#487B1A
secondary
#7B42AF
accent
#40E898
background
#F8FAF5
surface
#EFF3EA
border
#CACDC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #487B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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