#487F1A#487F1A

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

Color values

HEX#487F1A
RGBrgb(72, 127, 26)
HSLhsl(93, 66%, 30%)
HSVhsv(93, 80%, 50%)
CMYKcmyk(43.3%, 0%, 79.5%, 50.2%)
CIE-LABlab(47.79, -35.44, 45.58)
CIE-LCHlch(47.79, 57.74, 127.87°)
OKLaboklab(53.81% -0.0994 0.1014)
OKLCHoklch(53.81% 0.142 134.4)
XYZxyz(10.4481, 16.6305, 3.6366)
Luminance0.1663 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487F1A #511A7F
analogous
#7B7F1A #487F1A #1A7F1E
triadic
#487F1A #1A487F #7F1A48
tetradic
#487F1A #1A7B7F #511A7F #7F1E1A
square
#487F1A #1A7B7F #511A7F #7F1E1A
split-complementary
#487F1A #1E1A7F #7F1A7B
monochromatic
#0E1905 #2B4C10 #487F1A #65B224 #83D73C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##487F1A#FFFFFF#000000##FFFFFF
##487F1A1.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)
#847401
Deuteranopia (green-blind)
#7D7025
Tritanopia (blue-blind)
#477A6C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #487f1a;
/* rgb */ color: rgb(72, 127, 26);
/* oklch */ color: oklch(53.8% 0.142 134.4);
Tailwind
colors: {
  custom: {
    50: '#80a45f',
    500: '#487f1a',
    950: '#000000',
  },
}
SCSS
$custom: #487f1a;
$custom-light: #80a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#487f1a",
  "rgb": {
    "r": 72,
    "g": 127,
    "b": 26
  },
  "hsl": {
    "h": 92.673,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.53808,
    "c": 0.14196,
    "h": 134.4
  },
  "luminance": 0.16631
}

Semantic roles & 50–950 ramp

primary
#487F1A
secondary
#7F42B3
accent
#3FE99B
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #487F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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