#48871C#48871C

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

Color values

HEX#48871C
RGBrgb(72, 135, 28)
HSLhsl(95, 66%, 32%)
HSVhsv(95, 79%, 53%)
CMYKcmyk(46.7%, 0%, 79.3%, 47.1%)
CIE-LABlab(50.44, -38.75, 47.42)
CIE-LCHlch(50.44, 61.24, 129.25°)
OKLaboklab(55.98% -0.1081 0.1056)
OKLCHoklch(55.98% 0.151 135.7)
XYZxyz(11.5458, 18.7888, 4.1166)
Luminance0.1879 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48871C #5B1C87
analogous
#7E871C #48871C #1C8726
triadic
#48871C #1C4887 #871C48
tetradic
#48871C #1C7E87 #5B1C87 #87261C
square
#48871C #1C7E87 #5B1C87 #87261C
split-complementary
#48871C #261C87 #871C7E
monochromatic
#122207 #2D5411 #48871C #63BA27 #82D845

Accessibility & contrast

On white

4.41
#48871C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##48871C#FFFFFF#000000##000000
##48871C1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #48871c;
/* rgb */ color: rgb(72, 135, 28);
/* oklch */ color: oklch(56.0% 0.151 135.7);
Tailwind
colors: {
  custom: {
    50: '#81aa61',
    500: '#48871c',
    950: '#000000',
  },
}
SCSS
$custom: #48871c;
$custom-light: #81aa61;
$custom-dark: #000000;
JSON
{
  "hex": "#48871c",
  "rgb": {
    "r": 72,
    "g": 135,
    "b": 28
  },
  "hsl": {
    "h": 95.327,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55984,
    "c": 0.15111,
    "h": 135.7
  },
  "luminance": 0.1879
}

Semantic roles & 50–950 ramp

primary
#48871C
secondary
#8A45BA
accent
#3FE9A3
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #48871C

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

Preview Lab → · Contrast checker → · Palette generator →

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