#488F20#488F20

#488F20 is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.2% C 0.159 H 136.9°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#488F20
RGBrgb(72, 143, 32)
HSLhsl(98, 63%, 34%)
HSVhsv(98, 78%, 56%)
CMYKcmyk(49.7%, 0%, 77.6%, 43.9%)
CIE-LABlab(53.09, -41.80, 48.60)
CIE-LCHlch(53.09, 64.11, 130.70°)
OKLaboklab(58.17% -0.1161 0.1086)
OKLCHoklch(58.17% 0.159 136.9)
XYZxyz(12.7553, 21.1260, 4.7718)
Luminance0.2113 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488F20 #67208F
analogous
#808F20 #488F20 #208F2F
triadic
#488F20 #20488F #8F2048
tetradic
#488F20 #20808F #67208F #8F2F20
square
#488F20 #20808F #67208F #8F2F20
split-complementary
#488F20 #2F208F #8F2080
monochromatic
#162B0A #2F5D15 #488F20 #61C12B #82D851

Accessibility & contrast

On white

4.02
#488F20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#488F20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488F20
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488F20#FFFFFF#000000##000000
##488F201.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948206
Deuteranopia (green-blind)
#8B7D2C
Tritanopia (blue-blind)
#448A7A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #488f20;
/* rgb */ color: rgb(72, 143, 32);
/* oklch */ color: oklch(58.2% 0.159 136.9);
Tailwind
colors: {
  custom: {
    50: '#82b064',
    500: '#488f20',
    950: '#000000',
  },
}
SCSS
$custom: #488f20;
$custom-light: #82b064;
$custom-dark: #000000;
JSON
{
  "hex": "#488f20",
  "rgb": {
    "r": 72,
    "g": 143,
    "b": 32
  },
  "hsl": {
    "h": 98.378,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58168,
    "c": 0.159,
    "h": 136.9
  },
  "luminance": 0.21127
}

Semantic roles & 50–950 ramp

primary
#488F20
secondary
#944FBB
accent
#41E6AB
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #488F20

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

Preview Lab → · Contrast checker → · Palette generator →

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