#487919#487919

#487919 is a mid, vivid yellow-green. Relative luminance 0.151; OKLCH L 52.2% C 0.135 H 133.3°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#487919
RGBrgb(72, 121, 25)
HSLhsl(91, 66%, 29%)
HSVhsv(91, 79%, 47%)
CMYKcmyk(40.5%, 0%, 79.3%, 52.5%)
CIE-LABlab(45.80, -32.84, 44.02)
CIE-LCHlch(45.80, 54.92, 126.73°)
OKLaboklab(52.18% -0.0924 0.098)
OKLCHoklch(52.18% 0.135 133.3)
XYZxyz(9.6852, 15.1222, 3.3281)
Luminance0.1512 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487919 #4A1979
analogous
#787919 #487919 #19791A
triadic
#487919 #194879 #791948
tetradic
#487919 #197879 #4A1979 #791A19
square
#487919 #197879 #4A1979 #791A19
split-complementary
#487919 #1A1979 #791978
monochromatic
#0F1905 #2A460F #487919 #66AC23 #85D637

Accessibility & contrast

On white

5.22
#487919 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#487919 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487919
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487919#FFFFFF#000000##FFFFFF
##4879191.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F03
Deuteranopia (green-blind)
#786B23
Tritanopia (blue-blind)
#487467
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #487919;
/* rgb */ color: rgb(72, 121, 25);
/* oklch */ color: oklch(52.2% 0.135 133.3);
Tailwind
colors: {
  custom: {
    50: '#80a05e',
    500: '#487919',
    950: '#000000',
  },
}
SCSS
$custom: #487919;
$custom-light: #80a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#487919",
  "rgb": {
    "r": 72,
    "g": 121,
    "b": 25
  },
  "hsl": {
    "h": 90.625,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52177,
    "c": 0.13468,
    "h": 133.3
  },
  "luminance": 0.15123
}

Semantic roles & 50–950 ramp

primary
#487919
secondary
#7840AE
accent
#3FE996
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #487919

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

Preview Lab → · Contrast checker → · Palette generator →

#487919 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva