#488720#488720

#488720 is a mid, vivid yellow-green. Relative luminance 0.188; OKLCH L 56.0% C 0.149 H 136.1°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#488720
RGBrgb(72, 135, 32)
HSLhsl(97, 62%, 33%)
HSVhsv(97, 76%, 53%)
CMYKcmyk(46.7%, 0%, 76.3%, 47.1%)
CIE-LABlab(50.46, -38.49, 46.03)
CIE-LCHlch(50.46, 60.00, 129.90°)
OKLaboklab(56.01% -0.1072 0.1033)
OKLCHoklch(56.01% 0.149 136.1)
XYZxyz(11.5969, 18.8092, 4.3857)
Luminance0.1881 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488720 #5F2087
analogous
#7B8720 #488720 #20872B
triadic
#488720 #204887 #872048
tetradic
#488720 #207B87 #5F2087 #872B20
square
#488720 #207B87 #5F2087 #872B20
split-complementary
#488720 #2B2087 #87207B
monochromatic
#132409 #2E5614 #488720 #62B82C #82D54D

Accessibility & contrast

On white

4.41
#488720 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#488720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488720
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488720#FFFFFF#000000##000000
##4887201.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B0B
Deuteranopia (green-blind)
#84762A
Tritanopia (blue-blind)
#458273
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #488720;
/* rgb */ color: rgb(72, 135, 32);
/* oklch */ color: oklch(56.0% 0.149 136.1);
Tailwind
colors: {
  custom: {
    50: '#81aa63',
    500: '#488720',
    950: '#000000',
  },
}
SCSS
$custom: #488720;
$custom-light: #81aa63;
$custom-dark: #000000;
JSON
{
  "hex": "#488720",
  "rgb": {
    "r": 72,
    "g": 135,
    "b": 32
  },
  "hsl": {
    "h": 96.699,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56012,
    "c": 0.14882,
    "h": 136.1
  },
  "luminance": 0.1881
}

Semantic roles & 50–950 ramp

primary
#488720
secondary
#8E4BB8
accent
#43E5A6
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #488720

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

Preview Lab → · Contrast checker → · Palette generator →

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