#48821D#48821D

#48821D is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.6% C 0.144 H 135.1°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#48821D
RGBrgb(72, 130, 29)
HSLhsl(94, 64%, 31%)
HSVhsv(94, 78%, 51%)
CMYKcmyk(44.6%, 0%, 77.7%, 49%)
CIE-LABlab(48.80, -36.56, 45.49)
CIE-LCHlch(48.80, 58.36, 128.78°)
OKLaboklab(54.64% -0.1022 0.1017)
OKLCHoklch(54.64% 0.144 135.1)
XYZxyz(10.8766, 17.4311, 3.9536)
Luminance0.1743 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48821D #571D82
analogous
#7A821D #48821D #1D8224
triadic
#48821D #1D4882 #821D48
tetradic
#48821D #1D7A82 #571D82 #82241D
square
#48821D #1D7A82 #571D82 #82241D
split-complementary
#48821D #241D82 #821D7A
monochromatic
#111E07 #2C5012 #48821D #64B428 #82D544

Accessibility & contrast

On white

4.68
#48821D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#48821D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##48821D#FFFFFF#000000##FFFFFF
##48821D1.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)
#877706
Deuteranopia (green-blind)
#7F7227
Tritanopia (blue-blind)
#467D6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #48821d;
/* rgb */ color: rgb(72, 130, 29);
/* oklch */ color: oklch(54.6% 0.144 135.1);
Tailwind
colors: {
  custom: {
    50: '#81a761',
    500: '#48821d',
    950: '#000000',
  },
}
SCSS
$custom: #48821d;
$custom-light: #81a761;
$custom-dark: #000000;
JSON
{
  "hex": "#48821d",
  "rgb": {
    "r": 72,
    "g": 130,
    "b": 29
  },
  "hsl": {
    "h": 94.455,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5464,
    "c": 0.14414,
    "h": 135.1
  },
  "luminance": 0.17432
}

Semantic roles & 50–950 ramp

primary
#48821D
secondary
#8646B5
accent
#41E7A0
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #48821D

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

Preview Lab → · Contrast checker → · Palette generator →

#48821D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva