#488128#488128

#488128 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.5% C 0.135 H 136.3°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#488128
RGBrgb(72, 129, 40)
HSLhsl(98, 53%, 33%)
HSVhsv(98, 69%, 51%)
CMYKcmyk(44.2%, 0%, 69%, 49.4%)
CIE-LABlab(48.55, -35.27, 40.85)
CIE-LCHlch(48.55, 53.97, 130.81°)
OKLaboklab(54.46% -0.0979 0.0935)
OKLCHoklch(54.46% 0.135 136.3)
XYZxyz(10.9055, 17.2308, 4.7583)
Luminance0.1723 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488128 #612881
analogous
#748128 #488128 #288134
triadic
#488128 #284881 #812848
tetradic
#488128 #287481 #612881 #813428
square
#488128 #287481 #612881 #813428
split-complementary
#488128 #342881 #812874
monochromatic
#14240B #2E521A #488128 #62B036 #82CB58

Accessibility & contrast

On white

4.72
#488128 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#488128 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #488128
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488128#FFFFFF#000000##FFFFFF
##4881281.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86761C
Deuteranopia (green-blind)
#7E7230
Tritanopia (blue-blind)
#467C6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #488128;
/* rgb */ color: rgb(72, 129, 40);
/* oklch */ color: oklch(54.5% 0.135 136.3);
Tailwind
colors: {
  custom: {
    50: '#80a667',
    500: '#488128',
    950: '#000000',
  },
}
SCSS
$custom: #488128;
$custom-light: #80a667;
$custom-dark: #000000;
JSON
{
  "hex": "#488128",
  "rgb": {
    "r": 72,
    "g": 129,
    "b": 40
  },
  "hsl": {
    "h": 98.427,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54461,
    "c": 0.13538,
    "h": 136.3
  },
  "luminance": 0.17231
}

Semantic roles & 50–950 ramp

primary
#488128
secondary
#8F54B0
accent
#4CDCA8
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #488128

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

Preview Lab → · Contrast checker → · Palette generator →

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