#488122#488122

#488122 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.4% C 0.140 H 135.5°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#488122
RGBrgb(72, 129, 34)
HSLhsl(96, 58%, 32%)
HSVhsv(96, 74%, 51%)
CMYKcmyk(44.2%, 0%, 73.6%, 49.4%)
CIE-LABlab(48.50, -35.77, 43.30)
CIE-LCHlch(48.50, 56.17, 129.56°)
OKLaboklab(54.41% -0.0997 0.0979)
OKLCHoklch(54.41% 0.14 135.5)
XYZxyz(10.8112, 17.1931, 4.2620)
Luminance0.1719 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488122 #5B2281
analogous
#788122 #488122 #22812C
triadic
#488122 #224881 #812248
tetradic
#488122 #227881 #5B2281 #812C22
square
#488122 #227881 #5B2281 #812C22
split-complementary
#488122 #2C2281 #812278
monochromatic
#122008 #2D5115 #488122 #63B12F #82D04D

Accessibility & contrast

On white

4.73
#488122 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#488122 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #488122
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488122#FFFFFF#000000##FFFFFF
##4881221.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867612
Deuteranopia (green-blind)
#7E712B
Tritanopia (blue-blind)
#467C6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #488122;
/* rgb */ color: rgb(72, 129, 34);
/* oklch */ color: oklch(54.4% 0.140 135.5);
Tailwind
colors: {
  custom: {
    50: '#80a663',
    500: '#488122',
    950: '#000000',
  },
}
SCSS
$custom: #488122;
$custom-light: #80a663;
$custom-dark: #000000;
JSON
{
  "hex": "#488122",
  "rgb": {
    "r": 72,
    "g": 129,
    "b": 34
  },
  "hsl": {
    "h": 96,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54408,
    "c": 0.13968,
    "h": 135.5
  },
  "luminance": 0.17194
}

Semantic roles & 50–950 ramp

primary
#488122
secondary
#8A4BB3
accent
#46E1A3
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #488122

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

Preview Lab → · Contrast checker → · Palette generator →

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