#488C28#488C28

#488C28 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.4% C 0.150 H 137.5°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#488C28
RGBrgb(72, 140, 40)
HSLhsl(101, 56%, 35%)
HSVhsv(101, 71%, 55%)
CMYKcmyk(48.6%, 0%, 71.4%, 45.1%)
CIE-LABlab(52.16, -39.97, 44.64)
CIE-LCHlch(52.16, 59.92, 131.84°)
OKLaboklab(57.42% -0.1106 0.1015)
OKLCHoklch(57.42% 0.15 137.5)
XYZxyz(12.4332, 20.2863, 5.2676)
Luminance0.2029 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488C28 #6C288C
analogous
#7A8C28 #488C28 #288C3A
triadic
#488C28 #28488C #8C2848
tetradic
#488C28 #287A8C #6C288C #8C3A28
square
#488C28 #287A8C #6C288C #8C3A28
split-complementary
#488C28 #3A288C #8C287A
monochromatic
#172D0D #305C1A #488C28 #60BC36 #82D15E

Accessibility & contrast

On white

4.15
#488C28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#488C28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488C28
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488C28#FFFFFF#000000##000000
##488C281.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#918019
Deuteranopia (green-blind)
#887A31
Tritanopia (blue-blind)
#448778
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #488c28;
/* rgb */ color: rgb(72, 140, 40);
/* oklch */ color: oklch(57.4% 0.150 137.5);
Tailwind
colors: {
  custom: {
    50: '#81ae68',
    500: '#488c28',
    950: '#000000',
  },
}
SCSS
$custom: #488c28;
$custom-light: #81ae68;
$custom-dark: #000000;
JSON
{
  "hex": "#488c28",
  "rgb": {
    "r": 72,
    "g": 140,
    "b": 40
  },
  "hsl": {
    "h": 100.8,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57422,
    "c": 0.15014,
    "h": 137.5
  },
  "luminance": 0.20287
}

Semantic roles & 50–950 ramp

primary
#488C28
secondary
#995AB6
accent
#49DFAF
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #488C28

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

Preview Lab → · Contrast checker → · Palette generator →

#488C28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva