#488D18#488D18

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

Color values

HEX#488D18
RGBrgb(72, 141, 24)
HSLhsl(95, 71%, 32%)
HSVhsv(95, 83%, 55%)
CMYKcmyk(48.9%, 0%, 83%, 44.7%)
CIE-LABlab(52.39, -41.45, 50.51)
CIE-LCHlch(52.39, 65.34, 129.38°)
OKLaboklab(57.58% -0.1156 0.1114)
OKLCHoklch(57.58% 0.161 136.1)
XYZxyz(12.3619, 20.4926, 4.1680)
Luminance0.2049 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488D18 #5D188D
analogous
#828D18 #488D18 #188D23
triadic
#488D18 #18488D #8D1848
tetradic
#488D18 #18828D #5D188D #8D2318
square
#488D18 #18828D #5D188D #8D2318
split-complementary
#488D18 #23188D #8D1882
monochromatic
#132406 #2D590F #488D18 #63C121 #82DF41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##488D18#FFFFFF#000000##000000
##488D181.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: #488d18;
/* rgb */ color: rgb(72, 141, 24);
/* oklch */ color: oklch(57.6% 0.161 136.1);
Tailwind
colors: {
  custom: {
    50: '#82af60',
    500: '#488d18',
    950: '#000000',
  },
}
SCSS
$custom: #488d18;
$custom-light: #82af60;
$custom-dark: #000000;
JSON
{
  "hex": "#488d18",
  "rgb": {
    "r": 72,
    "g": 141,
    "b": 24
  },
  "hsl": {
    "h": 95.385,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5758,
    "c": 0.16058,
    "h": 136.1
  },
  "luminance": 0.20493
}

Semantic roles & 50–950 ramp

primary
#488D18
secondary
#8C42BF
accent
#3AEEA4
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #488D18

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

Preview Lab → · Contrast checker → · Palette generator →

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