#487B18#487B18

#487B18 is a mid, vivid yellow-green. Relative luminance 0.156; OKLCH L 52.7% C 0.138 H 133.6°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#487B18
RGBrgb(72, 123, 24)
HSLhsl(91, 67%, 29%)
HSVhsv(91, 80%, 48%)
CMYKcmyk(41.5%, 0%, 80.5%, 51.8%)
CIE-LABlab(46.46, -33.80, 44.99)
CIE-LCHlch(46.46, 56.27, 126.92°)
OKLaboklab(52.71% -0.0951 0.0998)
OKLCHoklch(52.71% 0.138 133.6)
XYZxyz(9.9202, 15.6091, 3.3541)
Luminance0.1561 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487B18 #4B187B
analogous
#7A7B18 #487B18 #187B1A
triadic
#487B18 #18487B #7B1848
tetradic
#487B18 #187A7B #4B187B #7B1A18
square
#487B18 #187A7B #4B187B #7B1A18
split-complementary
#487B18 #1A187B #7B187A
monochromatic
#0F1A05 #2A480E #487B18 #66AE22 #84D836

Accessibility & contrast

On white

5.09
#487B18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#487B18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487B18
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487B18#FFFFFF#000000##FFFFFF
##487B181.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#796D23
Tritanopia (blue-blind)
#487669
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #487b18;
/* rgb */ color: rgb(72, 123, 24);
/* oklch */ color: oklch(52.7% 0.138 133.6);
Tailwind
colors: {
  custom: {
    50: '#80a15e',
    500: '#487b18',
    950: '#000000',
  },
}
SCSS
$custom: #487b18;
$custom-light: #80a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#487b18",
  "rgb": {
    "r": 72,
    "g": 123,
    "b": 24
  },
  "hsl": {
    "h": 90.909,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52712,
    "c": 0.13786,
    "h": 133.6
  },
  "luminance": 0.1561
}

Semantic roles & 50–950 ramp

primary
#487B18
secondary
#793FB0
accent
#3EEA97
background
#F8FAF5
surface
#EFF3E9
border
#CACDC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #487B18

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

Preview Lab → · Contrast checker → · Palette generator →

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