#488017#488017

#488017 is a mid, vivid yellow-green. Relative luminance 0.169; OKLCH L 54.1% C 0.145 H 134.3°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#488017
RGBrgb(72, 128, 23)
HSLhsl(92, 70%, 30%)
HSVhsv(92, 82%, 50%)
CMYKcmyk(43.8%, 0%, 82%, 49.8%)
CIE-LABlab(48.11, -36.05, 46.86)
CIE-LCHlch(48.11, 59.12, 127.57°)
OKLaboklab(54.06% -0.1012 0.1036)
OKLCHoklch(54.06% 0.145 134.3)
XYZxyz(10.5461, 16.8773, 3.5124)
Luminance0.1688 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488017 #4F1780
analogous
#7D8017 #488017 #17801B
triadic
#488017 #174880 #801748
tetradic
#488017 #177D80 #4F1780 #801B17
square
#488017 #177D80 #4F1780 #801B17
split-complementary
#488017 #1B1780 #80177D
monochromatic
#0F1A05 #2B4C0E #488017 #65B420 #83DB36

Accessibility & contrast

On white

4.80
#488017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#488017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #488017
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488017#FFFFFF#000000##FFFFFF
##4880171.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7E7123
Tritanopia (blue-blind)
#477B6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #488017;
/* rgb */ color: rgb(72, 128, 23);
/* oklch */ color: oklch(54.1% 0.145 134.3);
Tailwind
colors: {
  custom: {
    50: '#81a55e',
    500: '#488017',
    950: '#000000',
  },
}
SCSS
$custom: #488017;
$custom-light: #81a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#488017",
  "rgb": {
    "r": 72,
    "g": 128,
    "b": 23
  },
  "hsl": {
    "h": 92,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.5406,
    "c": 0.14482,
    "h": 134.3
  },
  "luminance": 0.16878
}

Semantic roles & 50–950 ramp

primary
#488017
secondary
#7D3EB4
accent
#3BEC9A
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #488017

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

Preview Lab → · Contrast checker → · Palette generator →

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