#48821E#48821E

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

Color values

HEX#48821E
RGBrgb(72, 130, 30)
HSLhsl(95, 63%, 31%)
HSVhsv(95, 77%, 51%)
CMYKcmyk(44.6%, 0%, 76.9%, 49%)
CIE-LABlab(48.80, -36.49, 45.14)
CIE-LCHlch(48.80, 58.04, 128.95°)
OKLaboklab(54.65% -0.1019 0.1011)
OKLCHoklch(54.65% 0.144 135.2)
XYZxyz(10.8892, 17.4361, 4.0198)
Luminance0.1744 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48821E #581E82
analogous
#7A821E #48821E #1E8226
triadic
#48821E #1E4882 #821E48
tetradic
#48821E #1E7A82 #581E82 #82261E
square
#48821E #1E7A82 #581E82 #82261E
split-complementary
#48821E #261E82 #821E7A
monochromatic
#111F07 #2C5013 #48821E #64B429 #82D446

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##48821E#FFFFFF#000000##FFFFFF
##48821E1.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)
#877709
Deuteranopia (green-blind)
#7F7228
Tritanopia (blue-blind)
#467D6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #48821e;
/* rgb */ color: rgb(72, 130, 30);
/* oklch */ color: oklch(54.6% 0.144 135.2);
Tailwind
colors: {
  custom: {
    50: '#81a762',
    500: '#48821e',
    950: '#000000',
  },
}
SCSS
$custom: #48821e;
$custom-light: #81a762;
$custom-dark: #000000;
JSON
{
  "hex": "#48821e",
  "rgb": {
    "r": 72,
    "g": 130,
    "b": 30
  },
  "hsl": {
    "h": 94.8,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54647,
    "c": 0.14354,
    "h": 135.2
  },
  "luminance": 0.17437
}

Semantic roles & 50–950 ramp

primary
#48821E
secondary
#8747B5
accent
#42E6A1
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #48821E

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

Preview Lab → · Contrast checker → · Palette generator →

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