#488728#488728

#488728 is a mid, vivid yellow-green. Relative luminance 0.189; OKLCH L 56.1% C 0.144 H 137.0°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#488728
RGBrgb(72, 135, 40)
HSLhsl(100, 54%, 34%)
HSVhsv(100, 70%, 53%)
CMYKcmyk(46.7%, 0%, 70.4%, 47.1%)
CIE-LABlab(50.52, -37.87, 42.93)
CIE-LCHlch(50.52, 57.24, 131.41°)
OKLaboklab(56.08% -0.1049 0.0979)
OKLCHoklch(56.08% 0.144 137)
XYZxyz(11.7191, 18.8581, 5.0295)
Luminance0.1886 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488728 #672887
analogous
#788728 #488728 #288737
triadic
#488728 #284887 #872848
tetradic
#488728 #287887 #672887 #873728
square
#488728 #287887 #672887 #873728
split-complementary
#488728 #372887 #872878
monochromatic
#16290C #2F581A #488728 #61B636 #82CE5B

Accessibility & contrast

On white

4.40
#488728 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#488728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488728
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488728#FFFFFF#000000##000000
##4887281.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C1A
Deuteranopia (green-blind)
#837631
Tritanopia (blue-blind)
#458274
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #488728;
/* rgb */ color: rgb(72, 135, 40);
/* oklch */ color: oklch(56.1% 0.144 137.0);
Tailwind
colors: {
  custom: {
    50: '#81aa67',
    500: '#488728',
    950: '#000000',
  },
}
SCSS
$custom: #488728;
$custom-light: #81aa67;
$custom-dark: #000000;
JSON
{
  "hex": "#488728",
  "rgb": {
    "r": 72,
    "g": 135,
    "b": 40
  },
  "hsl": {
    "h": 99.789,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56077,
    "c": 0.14351,
    "h": 137
  },
  "luminance": 0.18859
}

Semantic roles & 50–950 ramp

primary
#488728
secondary
#9457B4
accent
#4ADEAC
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #488728

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

Preview Lab → · Contrast checker → · Palette generator →

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