#488222#488222

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

Color values

HEX#488222
RGBrgb(72, 130, 34)
HSLhsl(96, 59%, 32%)
HSVhsv(96, 74%, 51%)
CMYKcmyk(44.6%, 0%, 73.8%, 49%)
CIE-LABlab(48.83, -36.20, 43.64)
CIE-LCHlch(48.83, 56.70, 129.68°)
OKLaboklab(54.68% -0.1008 0.0986)
OKLCHoklch(54.68% 0.141 135.7)
XYZxyz(10.9436, 17.4578, 4.3061)
Luminance0.1746 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488222 #5C2282
analogous
#788222 #488222 #22822C
triadic
#488222 #224882 #822248
tetradic
#488222 #227882 #5C2282 #822C22
square
#488222 #227882 #5C2282 #822C22
split-complementary
#488222 #2C2282 #822278
monochromatic
#122109 #2D5115 #488222 #63B32F #82D14E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##488222#FFFFFF#000000##FFFFFF
##4882221.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)
#877712
Deuteranopia (green-blind)
#7F722B
Tritanopia (blue-blind)
#467D6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #488222;
/* rgb */ color: rgb(72, 130, 34);
/* oklch */ color: oklch(54.7% 0.141 135.7);
Tailwind
colors: {
  custom: {
    50: '#80a764',
    500: '#488222',
    950: '#000000',
  },
}
SCSS
$custom: #488222;
$custom-light: #80a764;
$custom-dark: #000000;
JSON
{
  "hex": "#488222",
  "rgb": {
    "r": 72,
    "g": 130,
    "b": 34
  },
  "hsl": {
    "h": 96.25,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54678,
    "c": 0.14101,
    "h": 135.7
  },
  "luminance": 0.17458
}

Semantic roles & 50–950 ramp

primary
#488222
secondary
#8B4CB4
accent
#46E2A4
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #488222

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

Preview Lab → · Contrast checker → · Palette generator →

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