#488D20#488D20

#488D20 is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 57.6% C 0.156 H 136.7°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#488D20
RGBrgb(72, 141, 32)
HSLhsl(98, 63%, 34%)
HSVhsv(98, 77%, 55%)
CMYKcmyk(48.9%, 0%, 77.3%, 44.7%)
CIE-LABlab(52.43, -40.98, 47.97)
CIE-LCHlch(52.43, 63.09, 130.51°)
OKLaboklab(57.63% -0.1139 0.1073)
OKLCHoklch(57.63% 0.156 136.7)
XYZxyz(12.4577, 20.5309, 4.6726)
Luminance0.2053 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488D20 #65208D
analogous
#7F8D20 #488D20 #208D2F
triadic
#488D20 #20488D #8D2048
tetradic
#488D20 #207F8D #65208D #8D2F20
square
#488D20 #207F8D #65208D #8D2F20
split-complementary
#488D20 #2F208D #8D207F
monochromatic
#152909 #2F5B15 #488D20 #61BF2B #82D750

Accessibility & contrast

On white

4.11
#488D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#488D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488D20
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488D20#FFFFFF#000000##000000
##488D201.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928107
Deuteranopia (green-blind)
#897B2B
Tritanopia (blue-blind)
#448878
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #488d20;
/* rgb */ color: rgb(72, 141, 32);
/* oklch */ color: oklch(57.6% 0.156 136.7);
Tailwind
colors: {
  custom: {
    50: '#82af64',
    500: '#488d20',
    950: '#000000',
  },
}
SCSS
$custom: #488d20;
$custom-light: #82af64;
$custom-dark: #000000;
JSON
{
  "hex": "#488d20",
  "rgb": {
    "r": 72,
    "g": 141,
    "b": 32
  },
  "hsl": {
    "h": 97.982,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57629,
    "c": 0.15648,
    "h": 136.7
  },
  "luminance": 0.20532
}

Semantic roles & 50–950 ramp

primary
#488D20
secondary
#934EBA
accent
#42E6AA
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #488D20

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

Preview Lab → · Contrast checker → · Palette generator →

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