#48821C#48821C

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

Color values

HEX#48821C
RGBrgb(72, 130, 28)
HSLhsl(94, 65%, 31%)
HSVhsv(94, 78%, 51%)
CMYKcmyk(44.6%, 0%, 78.5%, 49%)
CIE-LABlab(48.79, -36.62, 45.84)
CIE-LCHlch(48.79, 58.67, 128.62°)
OKLaboklab(54.63% -0.1024 0.1022)
OKLCHoklch(54.63% 0.145 135)
XYZxyz(10.8645, 17.4262, 3.8895)
Luminance0.1743 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48821C #561C82
analogous
#7B821C #48821C #1C8223
triadic
#48821C #1C4882 #821C48
tetradic
#48821C #1C7B82 #561C82 #82231C
square
#48821C #1C7B82 #561C82 #82231C
split-complementary
#48821C #231C82 #821C7B
monochromatic
#101D06 #2C5011 #48821C #64B427 #82D642

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##48821C#FFFFFF#000000##FFFFFF
##48821C1.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)
#877704
Deuteranopia (green-blind)
#7F7227
Tritanopia (blue-blind)
#477D6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #48821c;
/* rgb */ color: rgb(72, 130, 28);
/* oklch */ color: oklch(54.6% 0.145 135.0);
Tailwind
colors: {
  custom: {
    50: '#81a761',
    500: '#48821c',
    950: '#000000',
  },
}
SCSS
$custom: #48821c;
$custom-light: #81a761;
$custom-dark: #000000;
JSON
{
  "hex": "#48821c",
  "rgb": {
    "r": 72,
    "g": 130,
    "b": 28
  },
  "hsl": {
    "h": 94.118,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54633,
    "c": 0.14472,
    "h": 135
  },
  "luminance": 0.17427
}

Semantic roles & 50–950 ramp

primary
#48821C
secondary
#8544B5
accent
#40E89F
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #48821C

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

Preview Lab → · Contrast checker → · Palette generator →

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