#487C18#487C18

#487C18 is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 53.0% C 0.139 H 133.8°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#487C18
RGBrgb(72, 124, 24)
HSLhsl(91, 68%, 29%)
HSVhsv(91, 81%, 49%)
CMYKcmyk(41.9%, 0%, 80.6%, 51.4%)
CIE-LABlab(46.79, -34.24, 45.30)
CIE-LCHlch(46.79, 56.79, 127.09°)
OKLaboklab(52.98% -0.0963 0.1005)
OKLCHoklch(52.98% 0.139 133.8)
XYZxyz(10.0448, 15.8585, 3.3957)
Luminance0.1586 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487C18 #4C187C
analogous
#7A7C18 #487C18 #187C1A
triadic
#487C18 #18487C #7C1848
tetradic
#487C18 #187A7C #4C187C #7C1A18
square
#487C18 #187A7C #4C187C #7C1A18
split-complementary
#487C18 #1A187C #7C187A
monochromatic
#0F1A05 #2A490E #487C18 #66AF22 #84D836

Accessibility & contrast

On white

5.03
#487C18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#487C18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487C18
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487C18#FFFFFF#000000##FFFFFF
##487C181.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817200
Deuteranopia (green-blind)
#7A6D23
Tritanopia (blue-blind)
#487769
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #487c18;
/* rgb */ color: rgb(72, 124, 24);
/* oklch */ color: oklch(53.0% 0.139 133.8);
Tailwind
colors: {
  custom: {
    50: '#80a25e',
    500: '#487c18',
    950: '#000000',
  },
}
SCSS
$custom: #487c18;
$custom-light: #80a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#487c18",
  "rgb": {
    "r": 72,
    "g": 124,
    "b": 24
  },
  "hsl": {
    "h": 91.2,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52983,
    "c": 0.13916,
    "h": 133.8
  },
  "luminance": 0.15859
}

Semantic roles & 50–950 ramp

primary
#487C18
secondary
#7A3FB1
accent
#3DEA97
background
#F8FAF5
surface
#EFF3E9
border
#CACDC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #487C18

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

Preview Lab → · Contrast checker → · Palette generator →

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