#488D16#488D16

#488D16 is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 57.6% C 0.161 H 135.9°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#488D16
RGBrgb(72, 141, 22)
HSLhsl(95, 73%, 32%)
HSVhsv(95, 84%, 55%)
CMYKcmyk(48.9%, 0%, 84.4%, 44.7%)
CIE-LABlab(52.38, -41.55, 51.07)
CIE-LCHlch(52.38, 65.84, 129.13°)
OKLaboklab(57.57% -0.116 0.1123)
OKLCHoklch(57.57% 0.161 135.9)
XYZxyz(12.3419, 20.4846, 4.0625)
Luminance0.2049 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488D16 #5B168D
analogous
#848D16 #488D16 #168D20
triadic
#488D16 #16488D #8D1648
tetradic
#488D16 #16848D #5B168D #8D2016
square
#488D16 #16848D #5B168D #8D2016
split-complementary
#488D16 #20168D #8D1684
monochromatic
#122305 #2D580E #488D16 #63C21E #82E13D

Accessibility & contrast

On white

4.12
#488D16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#488D16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488D16
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488D16#FFFFFF#000000##000000
##488D161.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#897B25
Tritanopia (blue-blind)
#458778
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #488d16;
/* rgb */ color: rgb(72, 141, 22);
/* oklch */ color: oklch(57.6% 0.161 135.9);
Tailwind
colors: {
  custom: {
    50: '#82af60',
    500: '#488d16',
    950: '#000000',
  },
}
SCSS
$custom: #488d16;
$custom-light: #82af60;
$custom-dark: #000000;
JSON
{
  "hex": "#488d16",
  "rgb": {
    "r": 72,
    "g": 141,
    "b": 22
  },
  "hsl": {
    "h": 94.79,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5757,
    "c": 0.16146,
    "h": 135.9
  },
  "luminance": 0.20485
}

Semantic roles & 50–950 ramp

primary
#488D16
secondary
#8A3EC1
accent
#38F0A3
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #488D16

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

Preview Lab → · Contrast checker → · Palette generator →

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