#488A20#488A20

#488A20 is a mid, vivid yellow-green. Relative luminance 0.197; OKLCH L 56.8% C 0.153 H 136.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#488A20
RGBrgb(72, 138, 32)
HSLhsl(97, 62%, 33%)
HSVhsv(97, 77%, 54%)
CMYKcmyk(47.8%, 0%, 76.8%, 45.9%)
CIE-LABlab(51.45, -39.75, 47.00)
CIE-LCHlch(51.45, 61.55, 130.22°)
OKLaboklab(56.82% -0.1106 0.1053)
OKLCHoklch(56.82% 0.153 136.4)
XYZxyz(12.0213, 19.6582, 4.5272)
Luminance0.1966 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488A20 #62208A
analogous
#7D8A20 #488A20 #208A2D
triadic
#488A20 #20488A #8A2048
tetradic
#488A20 #207D8A #62208A #8A2D20
square
#488A20 #207D8A #62208A #8A2D20
split-complementary
#488A20 #2D208A #8A207D
monochromatic
#142709 #2E5814 #488A20 #62BC2C #82D64E

Accessibility & contrast

On white

4.26
#488A20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#488A20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488A20
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488A20#FFFFFF#000000##000000
##488A201.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E09
Deuteranopia (green-blind)
#86792B
Tritanopia (blue-blind)
#458576
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #488a20;
/* rgb */ color: rgb(72, 138, 32);
/* oklch */ color: oklch(56.8% 0.153 136.4);
Tailwind
colors: {
  custom: {
    50: '#81ad64',
    500: '#488a20',
    950: '#000000',
  },
}
SCSS
$custom: #488a20;
$custom-light: #81ad64;
$custom-dark: #000000;
JSON
{
  "hex": "#488a20",
  "rgb": {
    "r": 72,
    "g": 138,
    "b": 32
  },
  "hsl": {
    "h": 97.358,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56821,
    "c": 0.15267,
    "h": 136.4
  },
  "luminance": 0.19659
}

Semantic roles & 50–950 ramp

primary
#488A20
secondary
#904DB9
accent
#42E5A8
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #488A20

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

Preview Lab → · Contrast checker → · Palette generator →

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