#487E1B#487E1B

#487E1B is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.5% C 0.140 H 134.4°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#487E1B
RGBrgb(72, 126, 27)
HSLhsl(93, 65%, 30%)
HSVhsv(93, 79%, 49%)
CMYKcmyk(42.9%, 0%, 78.6%, 50.6%)
CIE-LABlab(47.47, -34.94, 44.92)
CIE-LCHlch(47.47, 56.91, 127.88°)
OKLaboklab(53.54% -0.098 0.1002)
OKLCHoklch(53.54% 0.14 134.4)
XYZxyz(10.3310, 16.3780, 3.6536)
Luminance0.1638 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487E1B #511B7E
analogous
#7A7E1B #487E1B #1B7E1F
triadic
#487E1B #1B487E #7E1B48
tetradic
#487E1B #1B7A7E #511B7E #7E1F1B
square
#487E1B #1B7A7E #511B7E #7E1F1B
split-complementary
#487E1B #1F1B7E #7E1B7A
monochromatic
#0E1905 #2B4C10 #487E1B #65B026 #83D63E

Accessibility & contrast

On white

4.91
#487E1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#487E1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487E1B
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487E1B#FFFFFF#000000##FFFFFF
##487E1B1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837304
Deuteranopia (green-blind)
#7C6F25
Tritanopia (blue-blind)
#47796B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #487e1b;
/* rgb */ color: rgb(72, 126, 27);
/* oklch */ color: oklch(53.5% 0.140 134.4);
Tailwind
colors: {
  custom: {
    50: '#80a460',
    500: '#487e1b',
    950: '#000000',
  },
}
SCSS
$custom: #487e1b;
$custom-light: #80a460;
$custom-dark: #000000;
JSON
{
  "hex": "#487e1b",
  "rgb": {
    "r": 72,
    "g": 126,
    "b": 27
  },
  "hsl": {
    "h": 92.727,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.53544,
    "c": 0.14009,
    "h": 134.4
  },
  "luminance": 0.16379
}

Semantic roles & 50–950 ramp

primary
#487E1B
secondary
#7F43B2
accent
#40E89C
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #487E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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