#488518#488518

#488518 is a mid, vivid yellow-green. Relative luminance 0.182; OKLCH L 55.4% C 0.151 H 135.1°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#488518
RGBrgb(72, 133, 24)
HSLhsl(94, 69%, 31%)
HSVhsv(94, 82%, 52%)
CMYKcmyk(45.9%, 0%, 82%, 47.8%)
CIE-LABlab(49.76, -38.14, 48.08)
CIE-LCHlch(49.76, 61.37, 128.42°)
OKLaboklab(55.42% -0.1067 0.1063)
OKLCHoklch(55.42% 0.151 135.1)
XYZxyz(11.2246, 18.2181, 3.7890)
Luminance0.1822 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488518 #551885
analogous
#7E8518 #488518 #18851E
triadic
#488518 #184885 #851848
tetradic
#488518 #187E85 #551885 #851E18
square
#488518 #187E85 #551885 #851E18
split-complementary
#488518 #1E1885 #85187E
monochromatic
#101D05 #2C510F #488518 #64B921 #82DC3C

Accessibility & contrast

On white

4.52
#488518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#488518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488518
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488518#FFFFFF#000000##000000
##4885181.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#827525
Tritanopia (blue-blind)
#468071
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #488518;
/* rgb */ color: rgb(72, 133, 24);
/* oklch */ color: oklch(55.4% 0.151 135.1);
Tailwind
colors: {
  custom: {
    50: '#81a95f',
    500: '#488518',
    950: '#000000',
  },
}
SCSS
$custom: #488518;
$custom-light: #81a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#488518",
  "rgb": {
    "r": 72,
    "g": 133,
    "b": 24
  },
  "hsl": {
    "h": 93.578,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55419,
    "c": 0.15066,
    "h": 135.1
  },
  "luminance": 0.18219
}

Semantic roles & 50–950 ramp

primary
#488518
secondary
#8440B9
accent
#3CEC9E
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #488518

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

Preview Lab → · Contrast checker → · Palette generator →

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