#487917#487917

#487917 is a mid, vivid yellow-green. Relative luminance 0.151; OKLCH L 52.2% C 0.136 H 133.2°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#487917
RGBrgb(72, 121, 23)
HSLhsl(90, 68%, 28%)
HSVhsv(90, 81%, 47%)
CMYKcmyk(40.5%, 0%, 81%, 52.5%)
CIE-LABlab(45.79, -32.96, 44.70)
CIE-LCHlch(45.79, 55.54, 126.41°)
OKLaboklab(52.16% -0.0929 0.099)
OKLCHoklch(52.16% 0.136 133.2)
XYZxyz(9.6644, 15.1139, 3.2185)
Luminance0.1511 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487917 #481779
analogous
#797917 #487917 #177917
triadic
#487917 #174879 #791748
tetradic
#487917 #177979 #481779 #791717
square
#487917 #177979 #481779 #791717
split-complementary
#487917 #171779 #791779
monochromatic
#0F1A05 #29460D #487917 #67AC21 #85D832

Accessibility & contrast

On white

5.22
#487917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#487917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487917
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487917#FFFFFF#000000##FFFFFF
##4879171.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#786B22
Tritanopia (blue-blind)
#487467
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #487917;
/* rgb */ color: rgb(72, 121, 23);
/* oklch */ color: oklch(52.2% 0.136 133.2);
Tailwind
colors: {
  custom: {
    50: '#80a05d',
    500: '#487917',
    950: '#000000',
  },
}
SCSS
$custom: #487917;
$custom-light: #80a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#487917",
  "rgb": {
    "r": 72,
    "g": 121,
    "b": 23
  },
  "hsl": {
    "h": 90,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52164,
    "c": 0.13579,
    "h": 133.2
  },
  "luminance": 0.15114
}

Semantic roles & 50–950 ramp

primary
#487917
secondary
#763EAE
accent
#3DEB94
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #487917

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

Preview Lab → · Contrast checker → · Palette generator →

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