#487B1C#487B1C

#487B1C is a mid, vivid yellow-green. Relative luminance 0.156; OKLCH L 52.7% C 0.136 H 134.0°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#487B1C
RGBrgb(72, 123, 28)
HSLhsl(92, 63%, 30%)
HSVhsv(92, 77%, 48%)
CMYKcmyk(41.5%, 0%, 77.2%, 51.8%)
CIE-LABlab(46.48, -33.55, 43.60)
CIE-LCHlch(46.48, 55.01, 127.58°)
OKLaboklab(52.74% -0.0941 0.0976)
OKLCHoklch(52.74% 0.136 134)
XYZxyz(9.9649, 15.6270, 3.5896)
Luminance0.1563 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487B1C #4F1C7B
analogous
#777B1C #487B1C #1C7B20
triadic
#487B1C #1C487B #7B1C48
tetradic
#487B1C #1C777B #4F1C7B #7B201C
square
#487B1C #1C777B #4F1C7B #7B201C
split-complementary
#487B1C #201C7B #7B1C77
monochromatic
#0F1906 #2B4911 #487B1C #65AD27 #83D33E

Accessibility & contrast

On white

5.09
#487B1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#487B1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487B1C
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487B1C#FFFFFF#000000##FFFFFF
##487B1C1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807108
Deuteranopia (green-blind)
#796D26
Tritanopia (blue-blind)
#487669
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #487b1c;
/* rgb */ color: rgb(72, 123, 28);
/* oklch */ color: oklch(52.7% 0.136 134.0);
Tailwind
colors: {
  custom: {
    50: '#80a160',
    500: '#487b1c',
    950: '#000000',
  },
}
SCSS
$custom: #487b1c;
$custom-light: #80a160;
$custom-dark: #000000;
JSON
{
  "hex": "#487b1c",
  "rgb": {
    "r": 72,
    "g": 123,
    "b": 28
  },
  "hsl": {
    "h": 92.211,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52739,
    "c": 0.13555,
    "h": 134
  },
  "luminance": 0.15627
}

Semantic roles & 50–950 ramp

primary
#487B1C
secondary
#7D44AF
accent
#42E69A
background
#F8FAF5
surface
#EFF3EA
border
#CACDC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #487B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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