#48871A#48871A

#48871A is a mid, vivid yellow-green. Relative luminance 0.188; OKLCH L 56.0% C 0.152 H 135.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#48871A
RGBrgb(72, 135, 26)
HSLhsl(95, 68%, 32%)
HSVhsv(95, 81%, 53%)
CMYKcmyk(46.7%, 0%, 80.7%, 47.1%)
CIE-LABlab(50.43, -38.87, 48.07)
CIE-LCHlch(50.43, 61.82, 128.95°)
OKLaboklab(55.97% -0.1086 0.1066)
OKLCHoklch(55.97% 0.152 135.5)
XYZxyz(11.5226, 18.7795, 3.9947)
Luminance0.1878 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48871A #591A87
analogous
#7F871A #48871A #1A8723
triadic
#48871A #1A4887 #871A48
tetradic
#48871A #1A7F87 #591A87 #87231A
square
#48871A #1A7F87 #591A87 #87231A
split-complementary
#48871A #231A87 #871A7F
monochromatic
#112006 #2D5410 #48871A #63BA24 #82DA41

Accessibility & contrast

On white

4.42
#48871A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#48871A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #48871A
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48871A#FFFFFF#000000##000000
##48871A1.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#847626
Tritanopia (blue-blind)
#468273
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #48871a;
/* rgb */ color: rgb(72, 135, 26);
/* oklch */ color: oklch(56.0% 0.152 135.5);
Tailwind
colors: {
  custom: {
    50: '#81aa60',
    500: '#48871a',
    950: '#000000',
  },
}
SCSS
$custom: #48871a;
$custom-light: #81aa60;
$custom-dark: #000000;
JSON
{
  "hex": "#48871a",
  "rgb": {
    "r": 72,
    "g": 135,
    "b": 26
  },
  "hsl": {
    "h": 94.679,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55972,
    "c": 0.15217,
    "h": 135.5
  },
  "luminance": 0.1878
}

Semantic roles & 50–950 ramp

primary
#48871A
secondary
#8842BA
accent
#3DEBA1
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #48871A

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

Preview Lab → · Contrast checker → · Palette generator →

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