#487716#487716

#487716 is a mid, vivid yellow-green. Relative luminance 0.146; OKLCH L 51.6% C 0.134 H 132.7°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#487716
RGBrgb(72, 119, 22)
HSLhsl(89, 69%, 28%)
HSVhsv(89, 82%, 47%)
CMYKcmyk(39.5%, 0%, 81.5%, 53.3%)
CIE-LABlab(45.12, -32.12, 44.40)
CIE-LCHlch(45.12, 54.80, 125.88°)
OKLaboklab(51.62% -0.0907 0.0983)
OKLCHoklch(51.62% 0.134 132.7)
XYZxyz(9.4140, 14.6289, 3.0865)
Luminance0.1463 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487716 #451677
analogous
#777516 #487716 #187716
triadic
#487716 #164877 #771648
tetradic
#487716 #167775 #451677 #771618
square
#487716 #167775 #451677 #771618
split-complementary
#487716 #161877 #751677
monochromatic
#101A05 #29430C #487716 #67AB20 #86D92F

Accessibility & contrast

On white

5.35
#487716 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#487716 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487716
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487716#FFFFFF#000000##FFFFFF
##4877161.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#766921
Tritanopia (blue-blind)
#497265
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #487716;
/* rgb */ color: rgb(72, 119, 22);
/* oklch */ color: oklch(51.6% 0.134 132.7);
Tailwind
colors: {
  custom: {
    50: '#809e5c',
    500: '#487716',
    950: '#000000',
  },
}
SCSS
$custom: #487716;
$custom-light: #809e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#487716",
  "rgb": {
    "r": 72,
    "g": 119,
    "b": 22
  },
  "hsl": {
    "h": 89.072,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.51616,
    "c": 0.13372,
    "h": 132.7
  },
  "luminance": 0.14629
}

Semantic roles & 50–950 ramp

primary
#487716
secondary
#733CAC
accent
#3CEC91
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #487716

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

Preview Lab → · Contrast checker → · Palette generator →

#487716 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva