#487A1D#487A1D

#487A1D is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.5% C 0.134 H 133.9°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#487A1D
RGBrgb(72, 122, 29)
HSLhsl(92, 62%, 30%)
HSVhsv(92, 76%, 48%)
CMYKcmyk(41%, 0%, 76.2%, 52.2%)
CIE-LABlab(46.16, -33.03, 42.90)
CIE-LCHlch(46.16, 54.15, 127.60°)
OKLaboklab(52.48% -0.0926 0.0963)
OKLCHoklch(52.48% 0.134 133.9)
XYZxyz(9.8536, 15.3850, 3.6126)
Luminance0.1538 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487A1D #4F1D7A
analogous
#777A1D #487A1D #1D7A21
triadic
#487A1D #1D487A #7A1D48
tetradic
#487A1D #1D777A #4F1D7A #7A211D
square
#487A1D #1D777A #4F1D7A #7A211D
split-complementary
#487A1D #211D7A #7A1D77
monochromatic
#0F1906 #2B4911 #487A1D #65AB29 #83D240

Accessibility & contrast

On white

5.15
#487A1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#487A1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487A1D
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487A1D#FFFFFF#000000##FFFFFF
##487A1D1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F700B
Deuteranopia (green-blind)
#786C26
Tritanopia (blue-blind)
#487568
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #487a1d;
/* rgb */ color: rgb(72, 122, 29);
/* oklch */ color: oklch(52.5% 0.134 133.9);
Tailwind
colors: {
  custom: {
    50: '#80a160',
    500: '#487a1d',
    950: '#000000',
  },
}
SCSS
$custom: #487a1d;
$custom-light: #80a160;
$custom-dark: #000000;
JSON
{
  "hex": "#487a1d",
  "rgb": {
    "r": 72,
    "g": 122,
    "b": 29
  },
  "hsl": {
    "h": 92.258,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52476,
    "c": 0.1336,
    "h": 133.9
  },
  "luminance": 0.15385
}

Semantic roles & 50–950 ramp

primary
#487A1D
secondary
#7D45AE
accent
#43E59A
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #487A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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