#487A18#487A18

#487A18 is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.4% C 0.137 H 133.4°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#487A18
RGBrgb(72, 122, 24)
HSLhsl(91, 67%, 29%)
HSVhsv(91, 80%, 48%)
CMYKcmyk(41%, 0%, 80.3%, 52.2%)
CIE-LABlab(46.13, -33.35, 44.68)
CIE-LCHlch(46.13, 55.75, 126.74°)
OKLaboklab(52.44% -0.0939 0.0992)
OKLCHoklch(52.44% 0.137 133.4)
XYZxyz(9.7967, 15.3623, 3.3130)
Luminance0.1536 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487A18 #4A187A
analogous
#797A18 #487A18 #187A19
triadic
#487A18 #18487A #7A1848
tetradic
#487A18 #18797A #4A187A #7A1918
square
#487A18 #18797A #4A187A #7A1918
split-complementary
#487A18 #19187A #7A1879
monochromatic
#0F1A05 #2A470E #487A18 #66AD22 #85D735

Accessibility & contrast

On white

5.16
#487A18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#487A18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487A18
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487A18#FFFFFF#000000##FFFFFF
##487A181.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#786C23
Tritanopia (blue-blind)
#487568
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #487a18;
/* rgb */ color: rgb(72, 122, 24);
/* oklch */ color: oklch(52.4% 0.137 133.4);
Tailwind
colors: {
  custom: {
    50: '#80a15e',
    500: '#487a18',
    950: '#000000',
  },
}
SCSS
$custom: #487a18;
$custom-light: #80a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#487a18",
  "rgb": {
    "r": 72,
    "g": 122,
    "b": 24
  },
  "hsl": {
    "h": 90.612,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52441,
    "c": 0.13655,
    "h": 133.4
  },
  "luminance": 0.15363
}

Semantic roles & 50–950 ramp

primary
#487A18
secondary
#783FAF
accent
#3EEA96
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #487A18

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

Preview Lab → · Contrast checker → · Palette generator →

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