#488817#488817

#488817 is a mid, vivid yellow-green. Relative luminance 0.190; OKLCH L 56.2% C 0.155 H 135.4°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#488817
RGBrgb(72, 136, 23)
HSLhsl(94, 71%, 31%)
HSVhsv(94, 83%, 53%)
CMYKcmyk(47.1%, 0%, 83.1%, 46.7%)
CIE-LABlab(50.74, -39.45, 49.29)
CIE-LCHlch(50.74, 63.13, 128.67°)
OKLaboklab(56.23% -0.1103 0.1087)
OKLCHoklch(56.23% 0.155 135.4)
XYZxyz(11.6310, 19.0472, 3.8740)
Luminance0.1905 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488817 #571788
analogous
#808817 #488817 #17881E
triadic
#488817 #174888 #881748
tetradic
#488817 #178088 #571788 #881E17
square
#488817 #178088 #571788 #881E17
split-complementary
#488817 #1E1788 #881780
monochromatic
#111F05 #2C540E #488817 #64BC20 #82DE3B

Accessibility & contrast

On white

4.37
#488817 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#488817 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488817
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488817#FFFFFF#000000##000000
##4888171.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#857725
Tritanopia (blue-blind)
#468374
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #488817;
/* rgb */ color: rgb(72, 136, 23);
/* oklch */ color: oklch(56.2% 0.155 135.4);
Tailwind
colors: {
  custom: {
    50: '#82ab5f',
    500: '#488817',
    950: '#000000',
  },
}
SCSS
$custom: #488817;
$custom-light: #82ab5f;
$custom-dark: #000000;
JSON
{
  "hex": "#488817",
  "rgb": {
    "r": 72,
    "g": 136,
    "b": 23
  },
  "hsl": {
    "h": 93.982,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56225,
    "c": 0.15487,
    "h": 135.4
  },
  "luminance": 0.19048
}

Semantic roles & 50–950 ramp

primary
#488817
secondary
#863FBC
accent
#3AEEA0
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #488817

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

Preview Lab → · Contrast checker → · Palette generator →

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