#487F1C#487F1C

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

Color values

HEX#487F1C
RGBrgb(72, 127, 28)
HSLhsl(93, 64%, 30%)
HSVhsv(93, 78%, 50%)
CMYKcmyk(43.3%, 0%, 78%, 50.2%)
CIE-LABlab(47.80, -35.32, 44.89)
CIE-LCHlch(47.80, 57.11, 128.20°)
OKLaboklab(53.82% -0.0989 0.1002)
OKLCHoklch(53.82% 0.141 134.6)
XYZxyz(10.4712, 16.6397, 3.7584)
Luminance0.1664 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487F1C #531C7F
analogous
#797F1C #487F1C #1C7F21
triadic
#487F1C #1C487F #7F1C48
tetradic
#487F1C #1C797F #531C7F #7F211C
square
#487F1C #1C797F #531C7F #7F211C
split-complementary
#487F1C #211C7F #7F1C79
monochromatic
#0F1B06 #2C4D11 #487F1C #64B127 #82D540

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##487F1C#FFFFFF#000000##FFFFFF
##487F1C1.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)
#847406
Deuteranopia (green-blind)
#7D7026
Tritanopia (blue-blind)
#477A6C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #487f1c;
/* rgb */ color: rgb(72, 127, 28);
/* oklch */ color: oklch(53.8% 0.141 134.6);
Tailwind
colors: {
  custom: {
    50: '#80a460',
    500: '#487f1c',
    950: '#000000',
  },
}
SCSS
$custom: #487f1c;
$custom-light: #80a460;
$custom-dark: #000000;
JSON
{
  "hex": "#487f1c",
  "rgb": {
    "r": 72,
    "g": 127,
    "b": 28
  },
  "hsl": {
    "h": 93.333,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53822,
    "c": 0.14082,
    "h": 134.6
  },
  "luminance": 0.1664
}

Semantic roles & 50–950 ramp

primary
#487F1C
secondary
#8244B3
accent
#41E79D
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #487F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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