#488011#488011

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

Color values

HEX#488011
RGBrgb(72, 128, 17)
HSLhsl(90, 77%, 28%)
HSVhsv(90, 87%, 50%)
CMYKcmyk(43.8%, 0%, 86.7%, 49.8%)
CIE-LABlab(48.08, -36.34, 48.56)
CIE-LCHlch(48.08, 60.65, 126.81°)
OKLaboklab(54.03% -0.1023 0.1062)
OKLCHoklch(54.03% 0.148 133.9)
XYZxyz(10.4927, 16.8560, 3.2309)
Luminance0.1686 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488011 #491180
analogous
#7F8011 #488011 #118011
triadic
#488011 #114880 #801148
tetradic
#488011 #117F80 #491180 #801111
square
#488011 #117F80 #491180 #801111
split-complementary
#488011 #111180 #80117F
monochromatic
#0F1B04 #2A4A0A #488011 #66B618 #85E329

Accessibility & contrast

On white

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

On black

4.37
#488011 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##488011#FFFFFF#000000##FFFFFF
##4880111.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #488011;
/* rgb */ color: rgb(72, 128, 17);
/* oklch */ color: oklch(54.0% 0.148 133.9);
Tailwind
colors: {
  custom: {
    50: '#81a55c',
    500: '#488011',
    950: '#000000',
  },
}
SCSS
$custom: #488011;
$custom-light: #81a55c;
$custom-dark: #000000;
JSON
{
  "hex": "#488011",
  "rgb": {
    "r": 72,
    "g": 128,
    "b": 17
  },
  "hsl": {
    "h": 90.27,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5403,
    "c": 0.14751,
    "h": 133.9
  },
  "luminance": 0.16857
}

Semantic roles & 50–950 ramp

primary
#488011
secondary
#7737B6
accent
#35F395
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F04
muted
#7C7F79

Preview Lab

Preview with #488011

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

Preview Lab → · Contrast checker → · Palette generator →

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