#487A1C#487A1C

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

Color values

HEX#487A1C
RGBrgb(72, 122, 28)
HSLhsl(92, 63%, 29%)
HSVhsv(92, 77%, 48%)
CMYKcmyk(41%, 0%, 77%, 52.2%)
CIE-LABlab(46.15, -33.10, 43.27)
CIE-LCHlch(46.15, 54.48, 127.41°)
OKLaboklab(52.47% -0.0929 0.0969)
OKLCHoklch(52.47% 0.134 133.8)
XYZxyz(9.8414, 15.3801, 3.5485)
Luminance0.1538 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487A1C #4E1C7A
analogous
#777A1C #487A1C #1C7A1F
triadic
#487A1C #1C487A #7A1C48
tetradic
#487A1C #1C777A #4E1C7A #7A1F1C
square
#487A1C #1C777A #4E1C7A #7A1F1C
split-complementary
#487A1C #1F1C7A #7A1C77
monochromatic
#0F1906 #2B4811 #487A1C #65AC27 #83D33E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##487A1C#FFFFFF#000000##FFFFFF
##487A1C1.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)
#7F7009
Deuteranopia (green-blind)
#786C25
Tritanopia (blue-blind)
#487568
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #487a1c;
/* rgb */ color: rgb(72, 122, 28);
/* oklch */ color: oklch(52.5% 0.134 133.8);
Tailwind
colors: {
  custom: {
    50: '#80a15f',
    500: '#487a1c',
    950: '#000000',
  },
}
SCSS
$custom: #487a1c;
$custom-light: #80a15f;
$custom-dark: #000000;
JSON
{
  "hex": "#487a1c",
  "rgb": {
    "r": 72,
    "g": 122,
    "b": 28
  },
  "hsl": {
    "h": 91.915,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52469,
    "c": 0.13422,
    "h": 133.8
  },
  "luminance": 0.15381
}

Semantic roles & 50–950 ramp

primary
#487A1C
secondary
#7C44AE
accent
#42E699
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #487A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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