#488120#488120

#488120 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.4% C 0.141 H 135.3°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#488120
RGBrgb(72, 129, 32)
HSLhsl(95, 60%, 32%)
HSVhsv(95, 75%, 51%)
CMYKcmyk(44.2%, 0%, 75.2%, 49.4%)
CIE-LABlab(48.49, -35.92, 44.07)
CIE-LCHlch(48.49, 56.85, 129.18°)
OKLaboklab(54.39% -0.1002 0.0992)
OKLCHoklch(54.39% 0.141 135.3)
XYZxyz(10.7832, 17.1819, 4.1145)
Luminance0.1718 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488120 #592081
analogous
#798120 #488120 #208129
triadic
#488120 #204881 #812048
tetradic
#488120 #207981 #592081 #812920
square
#488120 #207981 #592081 #812920
split-complementary
#488120 #292081 #812079
monochromatic
#111F08 #2D5014 #488120 #63B22C #82D249

Accessibility & contrast

On white

4.73
#488120 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#488120 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #488120
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488120#FFFFFF#000000##FFFFFF
##4881201.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86760E
Deuteranopia (green-blind)
#7E7129
Tritanopia (blue-blind)
#467C6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #488120;
/* rgb */ color: rgb(72, 129, 32);
/* oklch */ color: oklch(54.4% 0.141 135.3);
Tailwind
colors: {
  custom: {
    50: '#80a662',
    500: '#488120',
    950: '#000000',
  },
}
SCSS
$custom: #488120;
$custom-light: #80a662;
$custom-dark: #000000;
JSON
{
  "hex": "#488120",
  "rgb": {
    "r": 72,
    "g": 129,
    "b": 32
  },
  "hsl": {
    "h": 95.258,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54392,
    "c": 0.14098,
    "h": 135.3
  },
  "luminance": 0.17183
}

Semantic roles & 50–950 ramp

primary
#488120
secondary
#8849B4
accent
#44E3A2
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #488120

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

Preview Lab → · Contrast checker → · Palette generator →

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