#488A16#488A16

#488A16 is a mid, vivid yellow-green. Relative luminance 0.196; OKLCH L 56.8% C 0.158 H 135.6°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#488A16
RGBrgb(72, 138, 22)
HSLhsl(94, 73%, 31%)
HSVhsv(94, 84%, 54%)
CMYKcmyk(47.8%, 0%, 84.1%, 45.9%)
CIE-LABlab(51.40, -40.33, 50.18)
CIE-LCHlch(51.40, 64.37, 128.79°)
OKLaboklab(56.76% -0.1127 0.1104)
OKLCHoklch(56.76% 0.158 135.6)
XYZxyz(11.9055, 19.6118, 3.9170)
Luminance0.1961 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488A16 #58168A
analogous
#828A16 #488A16 #168A1E
triadic
#488A16 #16488A #8A1648
tetradic
#488A16 #16828A #58168A #8A1E16
square
#488A16 #16828A #58168A #8A1E16
split-complementary
#488A16 #1E168A #8A1682
monochromatic
#112005 #2C550E #488A16 #64BF1E #82E03B

Accessibility & contrast

On white

4.27
#488A16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#488A16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488A16
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488A16#FFFFFF#000000##000000
##488A161.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#877824
Tritanopia (blue-blind)
#468575
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #488a16;
/* rgb */ color: rgb(72, 138, 22);
/* oklch */ color: oklch(56.8% 0.158 135.6);
Tailwind
colors: {
  custom: {
    50: '#82ad5f',
    500: '#488a16',
    950: '#000000',
  },
}
SCSS
$custom: #488a16;
$custom-light: #82ad5f;
$custom-dark: #000000;
JSON
{
  "hex": "#488a16",
  "rgb": {
    "r": 72,
    "g": 138,
    "b": 22
  },
  "hsl": {
    "h": 94.138,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5676,
    "c": 0.15779,
    "h": 135.6
  },
  "luminance": 0.19613
}

Semantic roles & 50–950 ramp

primary
#488A16
secondary
#873EBE
accent
#39EFA0
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #488A16

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

Preview Lab → · Contrast checker → · Palette generator →

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