#487E19#487E19

#487E19 is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.5% C 0.141 H 134.2°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#487E19
RGBrgb(72, 126, 25)
HSLhsl(92, 67%, 30%)
HSVhsv(92, 80%, 49%)
CMYKcmyk(42.9%, 0%, 80.2%, 50.6%)
CIE-LABlab(47.46, -35.07, 45.60)
CIE-LCHlch(47.46, 57.52, 127.56°)
OKLaboklab(53.53% -0.0984 0.1013)
OKLCHoklch(53.53% 0.141 134.2)
XYZxyz(10.3086, 16.3691, 3.5359)
Luminance0.1637 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487E19 #4F197E
analogous
#7B7E19 #487E19 #197E1D
triadic
#487E19 #19487E #7E1948
tetradic
#487E19 #197B7E #4F197E #7E1D19
square
#487E19 #197B7E #4F197E #7E1D19
split-complementary
#487E19 #1D197E #7E197B
monochromatic
#0F1A05 #2B4B0F #487E19 #65B123 #83D83A

Accessibility & contrast

On white

4.91
#487E19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#487E19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487E19
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487E19#FFFFFF#000000##FFFFFF
##487E191.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7C6F24
Tritanopia (blue-blind)
#47796B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #487e19;
/* rgb */ color: rgb(72, 126, 25);
/* oklch */ color: oklch(53.5% 0.141 134.2);
Tailwind
colors: {
  custom: {
    50: '#80a45f',
    500: '#487e19',
    950: '#000000',
  },
}
SCSS
$custom: #487e19;
$custom-light: #80a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#487e19",
  "rgb": {
    "r": 72,
    "g": 126,
    "b": 25
  },
  "hsl": {
    "h": 92.079,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53531,
    "c": 0.14121,
    "h": 134.2
  },
  "luminance": 0.1637
}

Semantic roles & 50–950 ramp

primary
#487E19
secondary
#7D41B2
accent
#3EEA9A
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #487E19

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

Preview Lab → · Contrast checker → · Palette generator →

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