#488121#488121

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

Color values

HEX#488121
RGBrgb(72, 129, 33)
HSLhsl(96, 59%, 32%)
HSVhsv(96, 74%, 51%)
CMYKcmyk(44.2%, 0%, 74.4%, 49.4%)
CIE-LABlab(48.50, -35.84, 43.69)
CIE-LCHlch(48.50, 56.51, 129.36°)
OKLaboklab(54.4% -0.0999 0.0985)
OKLCHoklch(54.4% 0.14 135.4)
XYZxyz(10.7970, 17.1874, 4.1871)
Luminance0.1719 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488121 #5A2181
analogous
#788121 #488121 #21812A
triadic
#488121 #214881 #812148
tetradic
#488121 #217881 #5A2181 #812A21
square
#488121 #217881 #5A2181 #812A21
split-complementary
#488121 #2A2181 #812178
monochromatic
#122008 #2D5015 #488121 #63B22D #82D14B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##488121#FFFFFF#000000##FFFFFF
##4881211.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)
#867610
Deuteranopia (green-blind)
#7E712A
Tritanopia (blue-blind)
#467C6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #488121;
/* rgb */ color: rgb(72, 129, 33);
/* oklch */ color: oklch(54.4% 0.140 135.4);
Tailwind
colors: {
  custom: {
    50: '#80a663',
    500: '#488121',
    950: '#000000',
  },
}
SCSS
$custom: #488121;
$custom-light: #80a663;
$custom-dark: #000000;
JSON
{
  "hex": "#488121",
  "rgb": {
    "r": 72,
    "g": 129,
    "b": 33
  },
  "hsl": {
    "h": 95.625,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.544,
    "c": 0.14034,
    "h": 135.4
  },
  "luminance": 0.17188
}

Semantic roles & 50–950 ramp

primary
#488121
secondary
#894AB4
accent
#45E2A3
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #488121

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

Preview Lab → · Contrast checker → · Palette generator →

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