#487D1C#487D1C

#487D1C is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.3% C 0.138 H 134.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#487D1C
RGBrgb(72, 125, 28)
HSLhsl(93, 63%, 30%)
HSVhsv(93, 78%, 49%)
CMYKcmyk(42.4%, 0%, 77.6%, 51%)
CIE-LABlab(47.14, -34.44, 44.24)
CIE-LCHlch(47.14, 56.07, 127.90°)
OKLaboklab(53.28% -0.0965 0.0989)
OKLCHoklch(53.28% 0.138 134.3)
XYZxyz(10.2155, 16.1283, 3.6732)
Luminance0.1613 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487D1C #511C7D
analogous
#787D1C #487D1C #1C7D21
triadic
#487D1C #1C487D #7D1C48
tetradic
#487D1C #1C787D #511C7D #7D211C
square
#487D1C #1C787D #511C7D #7D211C
split-complementary
#487D1C #211C7D #7D1C78
monochromatic
#0E1906 #2B4B11 #487D1C #65AF27 #83D43F

Accessibility & contrast

On white

4.97
#487D1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#487D1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487D1C
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487D1C#FFFFFF#000000##FFFFFF
##487D1C1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827207
Deuteranopia (green-blind)
#7B6E26
Tritanopia (blue-blind)
#47786B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #487d1c;
/* rgb */ color: rgb(72, 125, 28);
/* oklch */ color: oklch(53.3% 0.138 134.3);
Tailwind
colors: {
  custom: {
    50: '#80a360',
    500: '#487d1c',
    950: '#000000',
  },
}
SCSS
$custom: #487d1c;
$custom-light: #80a360;
$custom-dark: #000000;
JSON
{
  "hex": "#487d1c",
  "rgb": {
    "r": 72,
    "g": 125,
    "b": 28
  },
  "hsl": {
    "h": 92.784,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.5328,
    "c": 0.13819,
    "h": 134.3
  },
  "luminance": 0.16129
}

Semantic roles & 50–950 ramp

primary
#487D1C
secondary
#7F44B1
accent
#41E69C
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #487D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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