#487F1D#487F1D

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

Color values

HEX#487F1D
RGBrgb(72, 127, 29)
HSLhsl(94, 63%, 31%)
HSVhsv(94, 77%, 50%)
CMYKcmyk(43.3%, 0%, 77.2%, 50.2%)
CIE-LABlab(47.81, -35.25, 44.53)
CIE-LCHlch(47.81, 56.79, 128.37°)
OKLaboklab(53.83% -0.0986 0.0997)
OKLCHoklch(53.83% 0.14 134.7)
XYZxyz(10.4834, 16.6446, 3.8225)
Luminance0.1664 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487F1D #541D7F
analogous
#797F1D #487F1D #1D7F23
triadic
#487F1D #1D487F #7F1D48
tetradic
#487F1D #1D797F #541D7F #7F231D
square
#487F1D #1D797F #541D7F #7F231D
split-complementary
#487F1D #231D7F #7F1D79
monochromatic
#101B06 #2C4D12 #487F1D #64B128 #82D442

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##487F1D#FFFFFF#000000##FFFFFF
##487F1D1.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)
#847408
Deuteranopia (green-blind)
#7D7027
Tritanopia (blue-blind)
#477A6C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #487f1d;
/* rgb */ color: rgb(72, 127, 29);
/* oklch */ color: oklch(53.8% 0.140 134.7);
Tailwind
colors: {
  custom: {
    50: '#80a461',
    500: '#487f1d',
    950: '#000000',
  },
}
SCSS
$custom: #487f1d;
$custom-light: #80a461;
$custom-dark: #000000;
JSON
{
  "hex": "#487f1d",
  "rgb": {
    "r": 72,
    "g": 127,
    "b": 29
  },
  "hsl": {
    "h": 93.673,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53829,
    "c": 0.14022,
    "h": 134.7
  },
  "luminance": 0.16645
}

Semantic roles & 50–950 ramp

primary
#487F1D
secondary
#8345B2
accent
#42E69E
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #487F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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