#488917#488917

#488917 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#488917
RGBrgb(72, 137, 23)
HSLhsl(94, 71%, 31%)
HSVhsv(94, 83%, 54%)
CMYKcmyk(47.4%, 0%, 83.2%, 46.3%)
CIE-LABlab(51.07, -39.86, 49.59)
CIE-LCHlch(51.07, 63.63, 128.79°)
OKLaboklab(56.5% -0.1114 0.1093)
OKLCHoklch(56.5% 0.156 135.6)
XYZxyz(11.7725, 19.3302, 3.9212)
Luminance0.1933 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488917 #581789
analogous
#818917 #488917 #17891F
triadic
#488917 #174889 #891748
tetradic
#488917 #178189 #581789 #891F17
square
#488917 #178189 #581789 #891F17
split-complementary
#488917 #1F1789 #891781
monochromatic
#112005 #2C550E #488917 #64BD20 #82DE3C

Accessibility & contrast

On white

4.32
#488917 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##488917#FFFFFF#000000##000000
##4889171.004.324.874.87
#FFFFFF4.321.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: #488917;
/* rgb */ color: rgb(72, 137, 23);
/* oklch */ color: oklch(56.5% 0.156 135.6);
Tailwind
colors: {
  custom: {
    50: '#82ac5f',
    500: '#488917',
    950: '#000000',
  },
}
SCSS
$custom: #488917;
$custom-light: #82ac5f;
$custom-dark: #000000;
JSON
{
  "hex": "#488917",
  "rgb": {
    "r": 72,
    "g": 137,
    "b": 23
  },
  "hsl": {
    "h": 94.211,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.56495,
    "c": 0.15612,
    "h": 135.6
  },
  "luminance": 0.19331
}

Semantic roles & 50–950 ramp

primary
#488917
secondary
#873FBD
accent
#3AEEA1
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #488917

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

Preview Lab → · Contrast checker → · Palette generator →

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