#488C20#488C20

#488C20 is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.4% C 0.155 H 136.6°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#488C20
RGBrgb(72, 140, 32)
HSLhsl(98, 63%, 34%)
HSVhsv(98, 77%, 55%)
CMYKcmyk(48.6%, 0%, 77.1%, 45.1%)
CIE-LABlab(52.10, -40.57, 47.65)
CIE-LCHlch(52.10, 62.58, 130.42°)
OKLaboklab(57.36% -0.1128 0.1066)
OKLCHoklch(57.36% 0.155 136.6)
XYZxyz(12.3109, 20.2374, 4.6237)
Luminance0.2024 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488C20 #64208C
analogous
#7E8C20 #488C20 #208C2E
triadic
#488C20 #20488C #8C2048
tetradic
#488C20 #207E8C #64208C #8C2E20
square
#488C20 #207E8C #64208C #8C2E20
split-complementary
#488C20 #2E208C #8C207E
monochromatic
#152809 #2E5A15 #488C20 #62BE2B #82D750

Accessibility & contrast

On white

4.16
#488C20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#488C20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488C20
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488C20#FFFFFF#000000##000000
##488C201.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#918008
Deuteranopia (green-blind)
#887A2B
Tritanopia (blue-blind)
#448777
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #488c20;
/* rgb */ color: rgb(72, 140, 32);
/* oklch */ color: oklch(57.4% 0.155 136.6);
Tailwind
colors: {
  custom: {
    50: '#82ae64',
    500: '#488c20',
    950: '#000000',
  },
}
SCSS
$custom: #488c20;
$custom-light: #82ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#488c20",
  "rgb": {
    "r": 72,
    "g": 140,
    "b": 32
  },
  "hsl": {
    "h": 97.778,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.5736,
    "c": 0.15521,
    "h": 136.6
  },
  "luminance": 0.20238
}

Semantic roles & 50–950 ramp

primary
#488C20
secondary
#924EBA
accent
#42E6A9
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #488C20

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

Preview Lab → · Contrast checker → · Palette generator →

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