#487816#487816

#487816 is a mid, vivid yellow-green. Relative luminance 0.149; OKLCH L 51.9% C 0.135 H 132.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#487816
RGBrgb(72, 120, 22)
HSLhsl(89, 69%, 28%)
HSVhsv(89, 82%, 47%)
CMYKcmyk(40%, 0%, 81.7%, 52.9%)
CIE-LABlab(45.45, -32.57, 44.71)
CIE-LCHlch(45.45, 55.32, 126.07°)
OKLaboklab(51.89% -0.0919 0.0989)
OKLCHoklch(51.89% 0.135 132.9)
XYZxyz(9.5336, 14.8681, 3.1264)
Luminance0.1487 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487816 #461678
analogous
#787716 #487816 #177816
triadic
#487816 #164878 #781648
tetradic
#487816 #167877 #461678 #781617
square
#487816 #167877 #461678 #781617
split-complementary
#487816 #161778 #771678
monochromatic
#101A05 #29440D #487816 #67AC1F #86D92F

Accessibility & contrast

On white

5.28
#487816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#487816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487816
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487816#FFFFFF#000000##FFFFFF
##4878161.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#776A21
Tritanopia (blue-blind)
#487366
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #487816;
/* rgb */ color: rgb(72, 120, 22);
/* oklch */ color: oklch(51.9% 0.135 132.9);
Tailwind
colors: {
  custom: {
    50: '#809f5c',
    500: '#487816',
    950: '#000000',
  },
}
SCSS
$custom: #487816;
$custom-light: #809f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#487816",
  "rgb": {
    "r": 72,
    "g": 120,
    "b": 22
  },
  "hsl": {
    "h": 89.388,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51887,
    "c": 0.13502,
    "h": 132.9
  },
  "luminance": 0.14869
}

Semantic roles & 50–950 ramp

primary
#487816
secondary
#743CAD
accent
#3CEC92
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #487816

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

Preview Lab → · Contrast checker → · Palette generator →

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