#487F19#487F19

#487F19 is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 53.8% C 0.143 H 134.3°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#487F19
RGBrgb(72, 127, 25)
HSLhsl(92, 67%, 30%)
HSVhsv(92, 80%, 50%)
CMYKcmyk(43.3%, 0%, 80.3%, 50.2%)
CIE-LABlab(47.79, -35.50, 45.91)
CIE-LCHlch(47.79, 58.04, 127.72°)
OKLaboklab(53.8% -0.0996 0.1019)
OKLCHoklch(53.8% 0.143 134.3)
XYZxyz(10.4371, 16.6261, 3.5787)
Luminance0.1663 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487F19 #50197F
analogous
#7B7F19 #487F19 #197F1D
triadic
#487F19 #19487F #7F1948
tetradic
#487F19 #197B7F #50197F #7F1D19
square
#487F19 #197B7F #50197F #7F1D19
split-complementary
#487F19 #1D197F #7F197B
monochromatic
#0E1A05 #2B4C0F #487F19 #65B223 #83D83A

Accessibility & contrast

On white

4.86
#487F19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#487F19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487F19
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487F19#FFFFFF#000000##FFFFFF
##487F191.004.864.334.86
#FFFFFF4.861.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7D7024
Tritanopia (blue-blind)
#477A6C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #487f19;
/* rgb */ color: rgb(72, 127, 25);
/* oklch */ color: oklch(53.8% 0.143 134.3);
Tailwind
colors: {
  custom: {
    50: '#80a45f',
    500: '#487f19',
    950: '#000000',
  },
}
SCSS
$custom: #487f19;
$custom-light: #80a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#487f19",
  "rgb": {
    "r": 72,
    "g": 127,
    "b": 25
  },
  "hsl": {
    "h": 92.353,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53802,
    "c": 0.14251,
    "h": 134.3
  },
  "luminance": 0.16627
}

Semantic roles & 50–950 ramp

primary
#487F19
secondary
#7E41B3
accent
#3EEA9B
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #487F19

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

Preview Lab → · Contrast checker → · Palette generator →

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