#48871D#48871D

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

Color values

HEX#48871D
RGBrgb(72, 135, 29)
HSLhsl(96, 65%, 32%)
HSVhsv(96, 79%, 53%)
CMYKcmyk(46.7%, 0%, 78.5%, 47.1%)
CIE-LABlab(50.45, -38.69, 47.09)
CIE-LCHlch(50.45, 60.94, 129.41°)
OKLaboklab(55.99% -0.1079 0.105)
OKLCHoklch(55.99% 0.151 135.8)
XYZxyz(11.5579, 18.7937, 4.1807)
Luminance0.1879 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48871D #5C1D87
analogous
#7D871D #48871D #1D8727
triadic
#48871D #1D4887 #871D48
tetradic
#48871D #1D7D87 #5C1D87 #87271D
square
#48871D #1D7D87 #5C1D87 #87271D
split-complementary
#48871D #271D87 #871D7D
monochromatic
#122207 #2D5512 #48871D #63B928 #82D747

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##48871D#FFFFFF#000000##000000
##48871D1.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)
#8C7B03
Deuteranopia (green-blind)
#847628
Tritanopia (blue-blind)
#468273
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #48871d;
/* rgb */ color: rgb(72, 135, 29);
/* oklch */ color: oklch(56.0% 0.151 135.8);
Tailwind
colors: {
  custom: {
    50: '#81aa62',
    500: '#48871d',
    950: '#000000',
  },
}
SCSS
$custom: #48871d;
$custom-light: #81aa62;
$custom-dark: #000000;
JSON
{
  "hex": "#48871d",
  "rgb": {
    "r": 72,
    "g": 135,
    "b": 29
  },
  "hsl": {
    "h": 95.66,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55991,
    "c": 0.15057,
    "h": 135.8
  },
  "luminance": 0.18794
}

Semantic roles & 50–950 ramp

primary
#48871D
secondary
#8B46B9
accent
#40E8A4
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #48871D

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

Preview Lab → · Contrast checker → · Palette generator →

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