#487C1C#487C1C

#487C1C is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 53.0% C 0.137 H 134.1°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#487C1C
RGBrgb(72, 124, 28)
HSLhsl(93, 63%, 30%)
HSVhsv(93, 77%, 49%)
CMYKcmyk(41.9%, 0%, 77.4%, 51.4%)
CIE-LABlab(46.81, -33.99, 43.92)
CIE-LCHlch(46.81, 55.54, 127.74°)
OKLaboklab(53.01% -0.0953 0.0982)
OKLCHoklch(53.01% 0.137 134.1)
XYZxyz(10.0896, 15.8763, 3.6312)
Luminance0.1588 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487C1C #501C7C
analogous
#787C1C #487C1C #1C7C20
triadic
#487C1C #1C487C #7C1C48
tetradic
#487C1C #1C787C #501C7C #7C201C
square
#487C1C #1C787C #501C7C #7C201C
split-complementary
#487C1C #201C7C #7C1C78
monochromatic
#0E1906 #2B4A11 #487C1C #65AE27 #83D43F

Accessibility & contrast

On white

5.03
#487C1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#487C1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487C1C
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487C1C#FFFFFF#000000##FFFFFF
##487C1C1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817207
Deuteranopia (green-blind)
#7A6D26
Tritanopia (blue-blind)
#47776A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #487c1c;
/* rgb */ color: rgb(72, 124, 28);
/* oklch */ color: oklch(53.0% 0.137 134.1);
Tailwind
colors: {
  custom: {
    50: '#80a260',
    500: '#487c1c',
    950: '#000000',
  },
}
SCSS
$custom: #487c1c;
$custom-light: #80a260;
$custom-dark: #000000;
JSON
{
  "hex": "#487c1c",
  "rgb": {
    "r": 72,
    "g": 124,
    "b": 28
  },
  "hsl": {
    "h": 92.5,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.5301,
    "c": 0.13688,
    "h": 134.1
  },
  "luminance": 0.15877
}

Semantic roles & 50–950 ramp

primary
#487C1C
secondary
#7E44B0
accent
#42E69B
background
#F8FAF5
surface
#EFF3EA
border
#CACDC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #487C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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