#487117#487117

#487117 is a mid, vivid yellow-green. Relative luminance 0.133; OKLCH L 50.0% C 0.125 H 131.5°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#487117
RGBrgb(72, 113, 23)
HSLhsl(87, 66%, 27%)
HSVhsv(87, 80%, 44%)
CMYKcmyk(36.3%, 0%, 79.6%, 55.7%)
CIE-LABlab(43.14, -29.29, 42.18)
CIE-LCHlch(43.14, 51.35, 124.77°)
OKLaboklab(50% -0.083 0.0938)
OKLCHoklch(50% 0.125 131.5)
XYZxyz(8.7322, 13.2495, 2.9078)
Luminance0.1325 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487117 #401771
analogous
#716D17 #487117 #1B7117
triadic
#487117 #174871 #711748
tetradic
#487117 #17716D #401771 #71171B
square
#487117 #17716D #401771 #71171B
split-complementary
#487117 #171B71 #6D1771
monochromatic
#101905 #283E0D #487117 #68A421 #89D42E

Accessibility & contrast

On white

5.75
#487117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#487117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487117
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487117#FFFFFF#000000##FFFFFF
##4871171.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766803
Deuteranopia (green-blind)
#716520
Tritanopia (blue-blind)
#496C60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #487117;
/* rgb */ color: rgb(72, 113, 23);
/* oklch */ color: oklch(50.0% 0.125 131.5);
Tailwind
colors: {
  custom: {
    50: '#7f9a5c',
    500: '#487117',
    950: '#000000',
  },
}
SCSS
$custom: #487117;
$custom-light: #7f9a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#487117",
  "rgb": {
    "r": 72,
    "g": 113,
    "b": 23
  },
  "hsl": {
    "h": 87.333,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49996,
    "c": 0.1252,
    "h": 131.5
  },
  "luminance": 0.1325
}

Semantic roles & 50–950 ramp

primary
#487117
secondary
#6D3DA7
accent
#3FE98C
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #487117

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

Preview Lab → · Contrast checker → · Palette generator →

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