#488C16#488C16

#488C16 is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.3% C 0.160 H 135.8°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#488C16
RGBrgb(72, 140, 22)
HSLhsl(95, 73%, 32%)
HSVhsv(95, 84%, 55%)
CMYKcmyk(48.6%, 0%, 84.3%, 45.1%)
CIE-LABlab(52.05, -41.14, 50.77)
CIE-LCHlch(52.05, 65.35, 129.02°)
OKLaboklab(57.3% -0.1149 0.1117)
OKLCHoklch(57.3% 0.16 135.8)
XYZxyz(12.1951, 20.1910, 4.0136)
Luminance0.2019 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488C16 #5A168C
analogous
#838C16 #488C16 #168C1F
triadic
#488C16 #16488C #8C1648
tetradic
#488C16 #16838C #5A168C #8C1F16
square
#488C16 #16838C #5A168C #8C1F16
split-complementary
#488C16 #1F168C #8C1683
monochromatic
#122205 #2D570E #488C16 #63C11E #82E03C

Accessibility & contrast

On white

4.17
#488C16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#488C16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488C16
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488C16#FFFFFF#000000##000000
##488C161.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#887A25
Tritanopia (blue-blind)
#458677
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #488c16;
/* rgb */ color: rgb(72, 140, 22);
/* oklch */ color: oklch(57.3% 0.160 135.8);
Tailwind
colors: {
  custom: {
    50: '#82ae60',
    500: '#488c16',
    950: '#000000',
  },
}
SCSS
$custom: #488c16;
$custom-light: #82ae60;
$custom-dark: #000000;
JSON
{
  "hex": "#488c16",
  "rgb": {
    "r": 72,
    "g": 140,
    "b": 22
  },
  "hsl": {
    "h": 94.576,
    "s": 72.84,
    "l": 31.765
  },
  "oklch": {
    "l": 0.573,
    "c": 0.16024,
    "h": 135.8
  },
  "luminance": 0.20192
}

Semantic roles & 50–950 ramp

primary
#488C16
secondary
#893EC0
accent
#38F0A2
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #488C16

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

Preview Lab → · Contrast checker → · Palette generator →

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