#488D17#488D17

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

Color values

HEX#488D17
RGBrgb(72, 141, 23)
HSLhsl(95, 72%, 32%)
HSVhsv(95, 84%, 55%)
CMYKcmyk(48.9%, 0%, 83.7%, 44.7%)
CIE-LABlab(52.39, -41.50, 50.79)
CIE-LCHlch(52.39, 65.59, 129.25°)
OKLaboklab(57.58% -0.1158 0.1119)
OKLCHoklch(57.58% 0.161 136)
XYZxyz(12.3517, 20.4885, 4.1143)
Luminance0.2049 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488D17 #5C178D
analogous
#838D17 #488D17 #178D21
triadic
#488D17 #17488D #8D1748
tetradic
#488D17 #17838D #5C178D #8D2117
square
#488D17 #17838D #5C178D #8D2117
split-complementary
#488D17 #21178D #8D1783
monochromatic
#122406 #2D580E #488D17 #63C220 #82E03F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##488D17#FFFFFF#000000##000000
##488D171.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)
#928100
Deuteranopia (green-blind)
#897B26
Tritanopia (blue-blind)
#458778
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #488d17;
/* rgb */ color: rgb(72, 141, 23);
/* oklch */ color: oklch(57.6% 0.161 136.0);
Tailwind
colors: {
  custom: {
    50: '#82af60',
    500: '#488d17',
    950: '#000000',
  },
}
SCSS
$custom: #488d17;
$custom-light: #82af60;
$custom-dark: #000000;
JSON
{
  "hex": "#488d17",
  "rgb": {
    "r": 72,
    "g": 141,
    "b": 23
  },
  "hsl": {
    "h": 95.085,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57575,
    "c": 0.16103,
    "h": 136
  },
  "luminance": 0.20489
}

Semantic roles & 50–950 ramp

primary
#488D17
secondary
#8B40C0
accent
#39EFA3
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #488D17

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

Preview Lab → · Contrast checker → · Palette generator →

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