#488918#488918

#488918 is a mid, vivid yellow-green. Relative luminance 0.193; OKLCH L 56.5% C 0.156 H 135.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#488918
RGBrgb(72, 137, 24)
HSLhsl(95, 70%, 32%)
HSVhsv(95, 82%, 54%)
CMYKcmyk(47.4%, 0%, 82.5%, 46.3%)
CIE-LABlab(51.08, -39.81, 49.30)
CIE-LCHlch(51.08, 63.37, 128.92°)
OKLaboklab(56.5% -0.1112 0.1089)
OKLCHoklch(56.5% 0.156 135.6)
XYZxyz(11.7827, 19.3342, 3.9750)
Luminance0.1933 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488918 #591889
analogous
#818918 #488918 #188921
triadic
#488918 #184889 #891848
tetradic
#488918 #188189 #591889 #892118
square
#488918 #188189 #591889 #892118
split-complementary
#488918 #211889 #891881
monochromatic
#112106 #2D550F #488918 #63BD21 #82DD3E

Accessibility & contrast

On white

4.31
#488918 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#488918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488918
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488918#FFFFFF#000000##000000
##4889181.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#867825
Tritanopia (blue-blind)
#468474
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #488918;
/* rgb */ color: rgb(72, 137, 24);
/* oklch */ color: oklch(56.5% 0.156 135.6);
Tailwind
colors: {
  custom: {
    50: '#82ac60',
    500: '#488918',
    950: '#000000',
  },
}
SCSS
$custom: #488918;
$custom-light: #82ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#488918",
  "rgb": {
    "r": 72,
    "g": 137,
    "b": 24
  },
  "hsl": {
    "h": 94.513,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56501,
    "c": 0.15566,
    "h": 135.6
  },
  "luminance": 0.19335
}

Semantic roles & 50–950 ramp

primary
#488918
secondary
#8840BD
accent
#3BEDA1
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #488918

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

Preview Lab → · Contrast checker → · Palette generator →

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