#488418#488418

#488418 is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.1% C 0.149 H 135.0°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#488418
RGBrgb(72, 132, 24)
HSLhsl(93, 69%, 31%)
HSVhsv(93, 82%, 52%)
CMYKcmyk(45.5%, 0%, 81.8%, 48.2%)
CIE-LABlab(49.43, -37.71, 47.78)
CIE-LCHlch(49.43, 60.87, 128.29°)
OKLaboklab(55.15% -0.1056 0.1057)
OKLCHoklch(55.15% 0.149 135)
XYZxyz(11.0884, 17.9455, 3.7435)
Luminance0.1795 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488418 #541884
analogous
#7E8418 #488418 #18841E
triadic
#488418 #184884 #841848
tetradic
#488418 #187E84 #541884 #841E18
square
#488418 #187E84 #541884 #841E18
split-complementary
#488418 #1E1884 #84187E
monochromatic
#101C05 #2C500F #488418 #64B821 #82DB3B

Accessibility & contrast

On white

4.58
#488418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#488418 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488418
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488418#FFFFFF#000000##000000
##4884181.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#817424
Tritanopia (blue-blind)
#467F70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #488418;
/* rgb */ color: rgb(72, 132, 24);
/* oklch */ color: oklch(55.1% 0.149 135.0);
Tailwind
colors: {
  custom: {
    50: '#81a85f',
    500: '#488418',
    950: '#000000',
  },
}
SCSS
$custom: #488418;
$custom-light: #81a85f;
$custom-dark: #000000;
JSON
{
  "hex": "#488418",
  "rgb": {
    "r": 72,
    "g": 132,
    "b": 24
  },
  "hsl": {
    "h": 93.333,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.55149,
    "c": 0.1494,
    "h": 135
  },
  "luminance": 0.17946
}

Semantic roles & 50–950 ramp

primary
#488418
secondary
#8340B8
accent
#3CEC9E
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #488418

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

Preview Lab → · Contrast checker → · Palette generator →

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