#487F1B#487F1B

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

Color values

HEX#487F1B
RGBrgb(72, 127, 27)
HSLhsl(93, 65%, 30%)
HSVhsv(93, 79%, 50%)
CMYKcmyk(43.3%, 0%, 78.7%, 50.2%)
CIE-LABlab(47.80, -35.38, 45.23)
CIE-LCHlch(47.80, 57.43, 128.03°)
OKLaboklab(53.82% -0.0991 0.1008)
OKLCHoklch(53.82% 0.141 134.5)
XYZxyz(10.4595, 16.6350, 3.6965)
Luminance0.1664 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487F1B #521B7F
analogous
#7A7F1B #487F1B #1B7F20
triadic
#487F1B #1B487F #7F1B48
tetradic
#487F1B #1B7A7F #521B7F #7F201B
square
#487F1B #1B7A7F #521B7F #7F201B
split-complementary
#487F1B #201B7F #7F1B7A
monochromatic
#0F1A06 #2B4D10 #487F1B #65B126 #83D63E

Accessibility & contrast

On white

4.85
#487F1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#487F1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487F1B
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487F1B#FFFFFF#000000##FFFFFF
##487F1B1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847404
Deuteranopia (green-blind)
#7D7026
Tritanopia (blue-blind)
#477A6C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #487f1b;
/* rgb */ color: rgb(72, 127, 27);
/* oklch */ color: oklch(53.8% 0.141 134.5);
Tailwind
colors: {
  custom: {
    50: '#80a460',
    500: '#487f1b',
    950: '#000000',
  },
}
SCSS
$custom: #487f1b;
$custom-light: #80a460;
$custom-dark: #000000;
JSON
{
  "hex": "#487f1b",
  "rgb": {
    "r": 72,
    "g": 127,
    "b": 27
  },
  "hsl": {
    "h": 93,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53815,
    "c": 0.1414,
    "h": 134.5
  },
  "luminance": 0.16636
}

Semantic roles & 50–950 ramp

primary
#487F1B
secondary
#8043B3
accent
#40E89C
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #487F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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