#487B1E#487B1E

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

Color values

HEX#487B1E
RGBrgb(72, 123, 30)
HSLhsl(93, 61%, 30%)
HSVhsv(93, 76%, 48%)
CMYKcmyk(41.5%, 0%, 75.6%, 51.8%)
CIE-LABlab(46.49, -33.41, 42.85)
CIE-LCHlch(46.49, 54.34, 127.94°)
OKLaboklab(52.75% -0.0936 0.0963)
OKLCHoklch(52.75% 0.134 134.2)
XYZxyz(9.9896, 15.6369, 3.7199)
Luminance0.1564 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487B1E #511E7B
analogous
#777B1E #487B1E #1E7B22
triadic
#487B1E #1E487B #7B1E48
tetradic
#487B1E #1E777B #511E7B #7B221E
square
#487B1E #1E777B #511E7B #7B221E
split-complementary
#487B1E #221E7B #7B1E77
monochromatic
#0E1906 #2B4A12 #487B1E #65AC2A #83D142

Accessibility & contrast

On white

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

On black

4.13
#487B1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##487B1E#FFFFFF#000000##FFFFFF
##487B1E1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80710D
Deuteranopia (green-blind)
#796D27
Tritanopia (blue-blind)
#477669
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #487b1e;
/* rgb */ color: rgb(72, 123, 30);
/* oklch */ color: oklch(52.8% 0.134 134.2);
Tailwind
colors: {
  custom: {
    50: '#80a161',
    500: '#487b1e',
    950: '#000000',
  },
}
SCSS
$custom: #487b1e;
$custom-light: #80a161;
$custom-dark: #000000;
JSON
{
  "hex": "#487b1e",
  "rgb": {
    "r": 72,
    "g": 123,
    "b": 30
  },
  "hsl": {
    "h": 92.903,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.52754,
    "c": 0.13429,
    "h": 134.2
  },
  "luminance": 0.15637
}

Semantic roles & 50–950 ramp

primary
#487B1E
secondary
#7F46AE
accent
#44E49C
background
#F8FAF5
surface
#EFF3EA
border
#CACDC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #487B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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