#487E11#487E11

#487E11 is a mid, vivid yellow-green. Relative luminance 0.163; OKLCH L 53.5% C 0.145 H 133.6°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#487E11
RGBrgb(72, 126, 17)
HSLhsl(90, 76%, 28%)
HSVhsv(90, 87%, 49%)
CMYKcmyk(42.9%, 0%, 86.5%, 50.6%)
CIE-LABlab(47.42, -35.47, 47.98)
CIE-LCHlch(47.42, 59.67, 126.48°)
OKLaboklab(53.49% -0.1 0.105)
OKLCHoklch(53.49% 0.145 133.6)
XYZxyz(10.2344, 16.3394, 3.1448)
Luminance0.1634 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487E11 #47117E
analogous
#7E7D11 #487E11 #117E11
triadic
#487E11 #11487E #7E1148
tetradic
#487E11 #117E7D #47117E #7E1111
square
#487E11 #117E7D #47117E #7E1111
split-complementary
#487E11 #11117E #7D117E
monochromatic
#0F1B04 #29480A #487E11 #67B418 #86E227

Accessibility & contrast

On white

4.92
#487E11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#487E11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487E11
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487E11#FFFFFF#000000##FFFFFF
##487E111.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7C6F1F
Tritanopia (blue-blind)
#48796B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #487e11;
/* rgb */ color: rgb(72, 126, 17);
/* oklch */ color: oklch(53.5% 0.145 133.6);
Tailwind
colors: {
  custom: {
    50: '#81a45b',
    500: '#487e11',
    950: '#000000',
  },
}
SCSS
$custom: #487e11;
$custom-light: #81a45b;
$custom-dark: #000000;
JSON
{
  "hex": "#487e11",
  "rgb": {
    "r": 72,
    "g": 126,
    "b": 17
  },
  "hsl": {
    "h": 89.725,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.53487,
    "c": 0.14501,
    "h": 133.6
  },
  "luminance": 0.1634
}

Semantic roles & 50–950 ramp

primary
#487E11
secondary
#7537B4
accent
#35F393
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F04
muted
#7C7F79

Preview Lab

Preview with #487E11

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

Preview Lab → · Contrast checker → · Palette generator →

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