#487A1B#487A1B

#487A1B is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.5% C 0.135 H 133.7°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#487A1B
RGBrgb(72, 122, 27)
HSLhsl(92, 64%, 29%)
HSVhsv(92, 78%, 48%)
CMYKcmyk(41%, 0%, 77.9%, 52.2%)
CIE-LABlab(46.14, -33.17, 43.64)
CIE-LCHlch(46.14, 54.81, 127.24°)
OKLaboklab(52.46% -0.0932 0.0975)
OKLCHoklch(52.46% 0.135 133.7)
XYZxyz(9.8297, 15.3754, 3.4865)
Luminance0.1538 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487A1B #4D1B7A
analogous
#787A1B #487A1B #1B7A1E
triadic
#487A1B #1B487A #7A1B48
tetradic
#487A1B #1B787A #4D1B7A #7A1E1B
square
#487A1B #1B787A #4D1B7A #7A1E1B
split-complementary
#487A1B #1E1B7A #7A1B78
monochromatic
#0F1906 #2A4810 #487A1B #66AC26 #84D43C

Accessibility & contrast

On white

5.15
#487A1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#487A1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487A1B
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487A1B#FFFFFF#000000##FFFFFF
##487A1B1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7006
Deuteranopia (green-blind)
#786C25
Tritanopia (blue-blind)
#487568
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #487a1b;
/* rgb */ color: rgb(72, 122, 27);
/* oklch */ color: oklch(52.5% 0.135 133.7);
Tailwind
colors: {
  custom: {
    50: '#80a15f',
    500: '#487a1b',
    950: '#000000',
  },
}
SCSS
$custom: #487a1b;
$custom-light: #80a15f;
$custom-dark: #000000;
JSON
{
  "hex": "#487a1b",
  "rgb": {
    "r": 72,
    "g": 122,
    "b": 27
  },
  "hsl": {
    "h": 91.579,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52461,
    "c": 0.13483,
    "h": 133.7
  },
  "luminance": 0.15376
}

Semantic roles & 50–950 ramp

primary
#487A1B
secondary
#7B43AE
accent
#41E798
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #487A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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