#488822#488822

#488822 is a mid, vivid yellow-green. Relative luminance 0.191; OKLCH L 56.3% C 0.149 H 136.4°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#488822
RGBrgb(72, 136, 34)
HSLhsl(98, 60%, 33%)
HSVhsv(98, 75%, 53%)
CMYKcmyk(47.1%, 0%, 75%, 46.7%)
CIE-LABlab(50.80, -38.77, 45.63)
CIE-LCHlch(50.80, 59.87, 130.35°)
OKLaboklab(56.3% -0.1078 0.1027)
OKLCHoklch(56.3% 0.149 136.4)
XYZxyz(11.7651, 19.1008, 4.5799)
Luminance0.1910 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488822 #622288
analogous
#7B8822 #488822 #22882F
triadic
#488822 #224888 #882248
tetradic
#488822 #227B88 #622288 #882F22
square
#488822 #227B88 #622288 #882F22
split-complementary
#488822 #2F2288 #88227B
monochromatic
#14260A #2E5716 #488822 #62B92E #82D351

Accessibility & contrast

On white

4.36
#488822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#488822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488822
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488822#FFFFFF#000000##000000
##4888221.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C0F
Deuteranopia (green-blind)
#84772C
Tritanopia (blue-blind)
#458374
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #488822;
/* rgb */ color: rgb(72, 136, 34);
/* oklch */ color: oklch(56.3% 0.149 136.4);
Tailwind
colors: {
  custom: {
    50: '#81ab64',
    500: '#488822',
    950: '#000000',
  },
}
SCSS
$custom: #488822;
$custom-light: #81ab64;
$custom-dark: #000000;
JSON
{
  "hex": "#488822",
  "rgb": {
    "r": 72,
    "g": 136,
    "b": 34
  },
  "hsl": {
    "h": 97.647,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56296,
    "c": 0.14888,
    "h": 136.4
  },
  "luminance": 0.19102
}

Semantic roles & 50–950 ramp

primary
#488822
secondary
#904FB7
accent
#45E3A8
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #488822

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

Preview Lab → · Contrast checker → · Palette generator →

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