#488221#488221

#488221 is a mid, vivid yellow-green. Relative luminance 0.175; OKLCH L 54.7% C 0.142 H 135.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#488221
RGBrgb(72, 130, 33)
HSLhsl(96, 60%, 32%)
HSVhsv(96, 75%, 51%)
CMYKcmyk(44.6%, 0%, 74.6%, 49%)
CIE-LABlab(48.82, -36.28, 44.02)
CIE-LCHlch(48.82, 57.04, 129.49°)
OKLaboklab(54.67% -0.1011 0.0992)
OKLCHoklch(54.67% 0.142 135.5)
XYZxyz(10.9294, 17.4522, 4.2313)
Luminance0.1745 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488221 #5B2182
analogous
#798221 #488221 #21822A
triadic
#488221 #214882 #822148
tetradic
#488221 #217982 #5B2182 #822A21
square
#488221 #217982 #5B2182 #822A21
split-complementary
#488221 #2A2182 #822179
monochromatic
#122008 #2D5115 #488221 #63B32D #82D24C

Accessibility & contrast

On white

4.68
#488221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#488221 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #488221
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488221#FFFFFF#000000##FFFFFF
##4882211.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877710
Deuteranopia (green-blind)
#7F722A
Tritanopia (blue-blind)
#467D6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #488221;
/* rgb */ color: rgb(72, 130, 33);
/* oklch */ color: oklch(54.7% 0.142 135.5);
Tailwind
colors: {
  custom: {
    50: '#80a763',
    500: '#488221',
    950: '#000000',
  },
}
SCSS
$custom: #488221;
$custom-light: #80a763;
$custom-dark: #000000;
JSON
{
  "hex": "#488221",
  "rgb": {
    "r": 72,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 95.876,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5467,
    "c": 0.14166,
    "h": 135.5
  },
  "luminance": 0.17453
}

Semantic roles & 50–950 ramp

primary
#488221
secondary
#8A4AB4
accent
#45E3A3
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #488221

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

Preview Lab → · Contrast checker → · Palette generator →

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