#488517#488517

#488517 is a mid, vivid yellow-green. Relative luminance 0.182; OKLCH L 55.4% C 0.151 H 135.0°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#488517
RGBrgb(72, 133, 23)
HSLhsl(93, 71%, 31%)
HSVhsv(93, 83%, 52%)
CMYKcmyk(45.9%, 0%, 82.7%, 47.8%)
CIE-LABlab(49.75, -38.19, 48.38)
CIE-LCHlch(49.75, 61.64, 128.28°)
OKLaboklab(55.41% -0.107 0.1068)
OKLCHoklch(55.41% 0.151 135)
XYZxyz(11.2144, 18.2140, 3.7352)
Luminance0.1822 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488517 #541785
analogous
#7F8517 #488517 #17851D
triadic
#488517 #174885 #851748
tetradic
#488517 #177F85 #541785 #851D17
square
#488517 #177F85 #541785 #851D17
split-complementary
#488517 #1D1785 #85177F
monochromatic
#101D05 #2C510E #488517 #64B920 #82DD3A

Accessibility & contrast

On white

4.52
#488517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#488517 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488517
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488517#FFFFFF#000000##000000
##4885171.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#827524
Tritanopia (blue-blind)
#468071
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #488517;
/* rgb */ color: rgb(72, 133, 23);
/* oklch */ color: oklch(55.4% 0.151 135.0);
Tailwind
colors: {
  custom: {
    50: '#81a95f',
    500: '#488517',
    950: '#000000',
  },
}
SCSS
$custom: #488517;
$custom-light: #81a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#488517",
  "rgb": {
    "r": 72,
    "g": 133,
    "b": 23
  },
  "hsl": {
    "h": 93.273,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.55414,
    "c": 0.15114,
    "h": 135
  },
  "luminance": 0.18215
}

Semantic roles & 50–950 ramp

primary
#488517
secondary
#833FB9
accent
#3BED9E
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #488517

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

Preview Lab → · Contrast checker → · Palette generator →

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