#487E1E#487E1E

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

Color values

HEX#487E1E
RGBrgb(72, 126, 30)
HSLhsl(94, 62%, 31%)
HSVhsv(94, 76%, 49%)
CMYKcmyk(42.9%, 0%, 76.2%, 50.6%)
CIE-LABlab(47.49, -34.74, 43.84)
CIE-LCHlch(47.49, 55.94, 128.40°)
OKLaboklab(53.57% -0.0972 0.0984)
OKLCHoklch(53.57% 0.138 134.7)
XYZxyz(10.3675, 16.3926, 3.8459)
Luminance0.1639 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487E1E #541E7E
analogous
#787E1E #487E1E #1E7E24
triadic
#487E1E #1E487E #7E1E48
tetradic
#487E1E #1E787E #541E7E #7E241E
square
#487E1E #1E787E #541E7E #7E241E
split-complementary
#487E1E #241E7E #7E1E78
monochromatic
#101B06 #2C4D12 #487E1E #64AF2A #82D244

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##487E1E#FFFFFF#000000##FFFFFF
##487E1E1.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)
#83730B
Deuteranopia (green-blind)
#7C6F28
Tritanopia (blue-blind)
#47796C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #487e1e;
/* rgb */ color: rgb(72, 126, 30);
/* oklch */ color: oklch(53.6% 0.138 134.7);
Tailwind
colors: {
  custom: {
    50: '#80a461',
    500: '#487e1e',
    950: '#000000',
  },
}
SCSS
$custom: #487e1e;
$custom-light: #80a461;
$custom-dark: #000000;
JSON
{
  "hex": "#487e1e",
  "rgb": {
    "r": 72,
    "g": 126,
    "b": 30
  },
  "hsl": {
    "h": 93.75,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53566,
    "c": 0.13828,
    "h": 134.7
  },
  "luminance": 0.16393
}

Semantic roles & 50–950 ramp

primary
#487E1E
secondary
#8347B1
accent
#43E59E
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #487E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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