#487E1C#487E1C

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

Color values

HEX#487E1C
RGBrgb(72, 126, 28)
HSLhsl(93, 64%, 30%)
HSVhsv(93, 78%, 49%)
CMYKcmyk(42.9%, 0%, 77.8%, 50.6%)
CIE-LABlab(47.47, -34.88, 44.56)
CIE-LCHlch(47.47, 56.59, 128.05°)
OKLaboklab(53.55% -0.0977 0.0996)
OKLCHoklch(53.55% 0.14 134.5)
XYZxyz(10.3427, 16.3827, 3.7156)
Luminance0.1638 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487E1C #521C7E
analogous
#797E1C #487E1C #1C7E21
triadic
#487E1C #1C487E #7E1C48
tetradic
#487E1C #1C797E #521C7E #7E211C
square
#487E1C #1C797E #521C7E #7E211C
split-complementary
#487E1C #211C7E #7E1C79
monochromatic
#0F1A06 #2B4C11 #487E1C #65B027 #83D540

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##487E1C#FFFFFF#000000##FFFFFF
##487E1C1.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)
#837306
Deuteranopia (green-blind)
#7C6F26
Tritanopia (blue-blind)
#47796B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #487e1c;
/* rgb */ color: rgb(72, 126, 28);
/* oklch */ color: oklch(53.6% 0.140 134.5);
Tailwind
colors: {
  custom: {
    50: '#80a460',
    500: '#487e1c',
    950: '#000000',
  },
}
SCSS
$custom: #487e1c;
$custom-light: #80a460;
$custom-dark: #000000;
JSON
{
  "hex": "#487e1c",
  "rgb": {
    "r": 72,
    "g": 126,
    "b": 28
  },
  "hsl": {
    "h": 93.061,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53551,
    "c": 0.1395,
    "h": 134.5
  },
  "luminance": 0.16383
}

Semantic roles & 50–950 ramp

primary
#487E1C
secondary
#8044B2
accent
#41E79C
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #487E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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