#488020#488020

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

Color values

HEX#488020
RGBrgb(72, 128, 32)
HSLhsl(95, 60%, 31%)
HSVhsv(95, 75%, 50%)
CMYKcmyk(43.8%, 0%, 75%, 49.8%)
CIE-LABlab(48.16, -35.48, 43.74)
CIE-LCHlch(48.16, 56.32, 129.05°)
OKLaboklab(54.12% -0.099 0.0985)
OKLCHoklch(54.12% 0.14 135.2)
XYZxyz(10.6521, 16.9197, 4.0708)
Luminance0.1692 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488020 #582080
analogous
#788020 #488020 #208028
triadic
#488020 #204880 #802048
tetradic
#488020 #207880 #582080 #802820
square
#488020 #207880 #582080 #802820
split-complementary
#488020 #282080 #802078
monochromatic
#111E08 #2C4F14 #488020 #64B12C #82D149

Accessibility & contrast

On white

4.79
#488020 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #488020
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488020#FFFFFF#000000##FFFFFF
##4880201.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85750E
Deuteranopia (green-blind)
#7D7129
Tritanopia (blue-blind)
#477B6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #488020;
/* rgb */ color: rgb(72, 128, 32);
/* oklch */ color: oklch(54.1% 0.140 135.2);
Tailwind
colors: {
  custom: {
    50: '#80a562',
    500: '#488020',
    950: '#000000',
  },
}
SCSS
$custom: #488020;
$custom-light: #80a562;
$custom-dark: #000000;
JSON
{
  "hex": "#488020",
  "rgb": {
    "r": 72,
    "g": 128,
    "b": 32
  },
  "hsl": {
    "h": 95,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54122,
    "c": 0.13966,
    "h": 135.2
  },
  "luminance": 0.1692
}

Semantic roles & 50–950 ramp

primary
#488020
secondary
#8749B3
accent
#45E3A1
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #488020

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

Preview Lab → · Contrast checker → · Palette generator →

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