#488018#488018

#488018 is a mid, vivid yellow-green. Relative luminance 0.169; OKLCH L 54.1% C 0.144 H 134.4°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#488018
RGBrgb(72, 128, 24)
HSLhsl(92, 68%, 30%)
HSVhsv(92, 81%, 50%)
CMYKcmyk(43.8%, 0%, 81.3%, 49.8%)
CIE-LABlab(48.11, -36.00, 46.55)
CIE-LCHlch(48.11, 58.84, 127.72°)
OKLaboklab(54.07% -0.101 0.1031)
OKLCHoklch(54.07% 0.144 134.4)
XYZxyz(10.5563, 16.8814, 3.5662)
Luminance0.1688 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488018 #501880
analogous
#7C8018 #488018 #18801C
triadic
#488018 #184880 #801848
tetradic
#488018 #187C80 #501880 #801C18
square
#488018 #187C80 #501880 #801C18
split-complementary
#488018 #1C1880 #80187C
monochromatic
#0E1A05 #2B4C0E #488018 #65B422 #83DA39

Accessibility & contrast

On white

4.80
#488018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#488018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #488018
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488018#FFFFFF#000000##FFFFFF
##4880181.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7E7124
Tritanopia (blue-blind)
#477B6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #488018;
/* rgb */ color: rgb(72, 128, 24);
/* oklch */ color: oklch(54.1% 0.144 134.4);
Tailwind
colors: {
  custom: {
    50: '#81a55e',
    500: '#488018',
    950: '#000000',
  },
}
SCSS
$custom: #488018;
$custom-light: #81a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#488018",
  "rgb": {
    "r": 72,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 92.308,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54066,
    "c": 0.14431,
    "h": 134.4
  },
  "luminance": 0.16882
}

Semantic roles & 50–950 ramp

primary
#488018
secondary
#7E40B4
accent
#3DEB9B
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #488018

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

Preview Lab → · Contrast checker → · Palette generator →

#488018 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva