#48821A#48821A

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

Color values

HEX#48821A
RGBrgb(72, 130, 26)
HSLhsl(93, 67%, 31%)
HSVhsv(93, 80%, 51%)
CMYKcmyk(44.6%, 0%, 80%, 49%)
CIE-LABlab(48.78, -36.74, 46.52)
CIE-LCHlch(48.78, 59.28, 128.30°)
OKLaboklab(54.62% -0.1029 0.1034)
OKLCHoklch(54.62% 0.146 134.9)
XYZxyz(10.8413, 17.4169, 3.7676)
Luminance0.1742 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48821A #541A82
analogous
#7C821A #48821A #1A8220
triadic
#48821A #1A4882 #821A48
tetradic
#48821A #1A7C82 #541A82 #82201A
square
#48821A #1A7C82 #541A82 #82201A
split-complementary
#48821A #201A82 #821A7C
monochromatic
#101C06 #2C4F10 #48821A #64B524 #82D83E

Accessibility & contrast

On white

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

On black

4.48
#48821A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##48821A#FFFFFF#000000##FFFFFF
##48821A1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#7F7225
Tritanopia (blue-blind)
#477D6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #48821a;
/* rgb */ color: rgb(72, 130, 26);
/* oklch */ color: oklch(54.6% 0.146 134.9);
Tailwind
colors: {
  custom: {
    50: '#81a760',
    500: '#48821a',
    950: '#000000',
  },
}
SCSS
$custom: #48821a;
$custom-light: #81a760;
$custom-dark: #000000;
JSON
{
  "hex": "#48821a",
  "rgb": {
    "r": 72,
    "g": 130,
    "b": 26
  },
  "hsl": {
    "h": 93.462,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5462,
    "c": 0.14583,
    "h": 134.9
  },
  "luminance": 0.17418
}

Semantic roles & 50–950 ramp

primary
#48821A
secondary
#8342B6
accent
#3EEA9E
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #48821A

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

Preview Lab → · Contrast checker → · Palette generator →

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