#48821F#48821F

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

Color values

HEX#48821F
RGBrgb(72, 130, 31)
HSLhsl(95, 61%, 32%)
HSVhsv(95, 76%, 51%)
CMYKcmyk(44.6%, 0%, 76.2%, 49%)
CIE-LABlab(48.81, -36.42, 44.77)
CIE-LCHlch(48.81, 57.72, 129.13°)
OKLaboklab(54.65% -0.1017 0.1005)
OKLCHoklch(54.65% 0.143 135.3)
XYZxyz(10.9022, 17.4413, 4.0881)
Luminance0.1744 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48821F #591F82
analogous
#7A821F #48821F #1F8228
triadic
#48821F #1F4882 #821F48
tetradic
#48821F #1F7A82 #591F82 #82281F
square
#48821F #1F7A82 #591F82 #82281F
split-complementary
#48821F #281F82 #821F7A
monochromatic
#111F07 #2D5113 #48821F #63B32B #82D348

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##48821F#FFFFFF#000000##FFFFFF
##48821F1.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)
#87770B
Deuteranopia (green-blind)
#7F7229
Tritanopia (blue-blind)
#467D6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #48821f;
/* rgb */ color: rgb(72, 130, 31);
/* oklch */ color: oklch(54.7% 0.143 135.3);
Tailwind
colors: {
  custom: {
    50: '#80a762',
    500: '#48821f',
    950: '#000000',
  },
}
SCSS
$custom: #48821f;
$custom-light: #80a762;
$custom-dark: #000000;
JSON
{
  "hex": "#48821f",
  "rgb": {
    "r": 72,
    "g": 130,
    "b": 31
  },
  "hsl": {
    "h": 95.152,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54654,
    "c": 0.14294,
    "h": 135.3
  },
  "luminance": 0.17442
}

Semantic roles & 50–950 ramp

primary
#48821F
secondary
#8848B5
accent
#43E5A2
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #48821F

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

Preview Lab → · Contrast checker → · Palette generator →

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