#487B14#487B14

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

Color values

HEX#487B14
RGBrgb(72, 123, 20)
HSLhsl(90, 72%, 28%)
HSVhsv(90, 84%, 48%)
CMYKcmyk(41.5%, 0%, 83.7%, 51.8%)
CIE-LABlab(46.44, -34.02, 46.25)
CIE-LCHlch(46.44, 57.41, 126.34°)
OKLaboklab(52.69% -0.0959 0.1018)
OKLCHoklch(52.69% 0.14 133.3)
XYZxyz(9.8816, 15.5937, 3.1509)
Luminance0.1559 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487B14 #47147B
analogous
#7B7A14 #487B14 #147B14
triadic
#487B14 #14487B #7B1448
tetradic
#487B14 #147B7A #47147B #7B1414
square
#487B14 #147B7A #47147B #7B1414
split-complementary
#487B14 #14147B #7A147B
monochromatic
#0F1A04 #29460B #487B14 #67B01D #86DD2D

Accessibility & contrast

On white

5.10
#487B14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #487B14
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487B14#FFFFFF#000000##FFFFFF
##487B141.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#796D20
Tritanopia (blue-blind)
#487668
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #487b14;
/* rgb */ color: rgb(72, 123, 20);
/* oklch */ color: oklch(52.7% 0.140 133.3);
Tailwind
colors: {
  custom: {
    50: '#80a15c',
    500: '#487b14',
    950: '#000000',
  },
}
SCSS
$custom: #487b14;
$custom-light: #80a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#487b14",
  "rgb": {
    "r": 72,
    "g": 123,
    "b": 20
  },
  "hsl": {
    "h": 89.709,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52689,
    "c": 0.13989,
    "h": 133.3
  },
  "luminance": 0.15594
}

Semantic roles & 50–950 ramp

primary
#487B14
secondary
#753AB1
accent
#39EF93
background
#F8FAF5
surface
#EFF3E9
border
#CACDC5
text
#0B0F04
muted
#7C7F79

Preview Lab

Preview with #487B14

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

Preview Lab → · Contrast checker → · Palette generator →

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