#487817#487817

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

Color values

HEX#487817
RGBrgb(72, 120, 23)
HSLhsl(90, 68%, 28%)
HSVhsv(90, 81%, 47%)
CMYKcmyk(40%, 0%, 80.8%, 52.9%)
CIE-LABlab(45.46, -32.51, 44.38)
CIE-LCHlch(45.46, 55.02, 126.22°)
OKLaboklab(51.89% -0.0917 0.0984)
OKLCHoklch(51.89% 0.134 133)
XYZxyz(9.5435, 14.8721, 3.1782)
Luminance0.1487 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487817 #471778
analogous
#787717 #487817 #177817
triadic
#487817 #174878 #781748
tetradic
#487817 #177877 #471778 #781717
square
#487817 #177877 #471778 #781717
split-complementary
#487817 #171778 #771778
monochromatic
#0F1A05 #29450D #487817 #67AB21 #86D832

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##487817#FFFFFF#000000##FFFFFF
##4878171.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)
#776A22
Tritanopia (blue-blind)
#487366
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #487817;
/* rgb */ color: rgb(72, 120, 23);
/* oklch */ color: oklch(51.9% 0.134 133.0);
Tailwind
colors: {
  custom: {
    50: '#809f5d',
    500: '#487817',
    950: '#000000',
  },
}
SCSS
$custom: #487817;
$custom-light: #809f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#487817",
  "rgb": {
    "r": 72,
    "g": 120,
    "b": 23
  },
  "hsl": {
    "h": 89.691,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51893,
    "c": 0.13448,
    "h": 133
  },
  "luminance": 0.14873
}

Semantic roles & 50–950 ramp

primary
#487817
secondary
#753EAD
accent
#3DEB93
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #487817

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

Preview Lab → · Contrast checker → · Palette generator →

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