#48851F#48851F

#48851F is a mid, vivid yellow-green. Relative luminance 0.183; OKLCH L 55.5% C 0.147 H 135.7°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#48851F
RGBrgb(72, 133, 31)
HSLhsl(96, 62%, 32%)
HSVhsv(96, 77%, 52%)
CMYKcmyk(45.9%, 0%, 76.7%, 47.8%)
CIE-LABlab(49.80, -37.71, 45.75)
CIE-LCHlch(49.80, 59.28, 129.50°)
OKLaboklab(55.47% -0.1051 0.1025)
OKLCHoklch(55.47% 0.147 135.7)
XYZxyz(11.3071, 18.2510, 4.2231)
Luminance0.1825 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48851F #5C1F85
analogous
#7B851F #48851F #1F8529
triadic
#48851F #1F4885 #851F48
tetradic
#48851F #1F7B85 #5C1F85 #85291F
square
#48851F #1F7B85 #5C1F85 #85291F
split-complementary
#48851F #291F85 #851F7B
monochromatic
#122208 #2D5313 #48851F #63B72B #82D54A

Accessibility & contrast

On white

4.52
#48851F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#48851F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #48851F
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48851F#FFFFFF#000000##000000
##48851F1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A09
Deuteranopia (green-blind)
#827529
Tritanopia (blue-blind)
#468071
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #48851f;
/* rgb */ color: rgb(72, 133, 31);
/* oklch */ color: oklch(55.5% 0.147 135.7);
Tailwind
colors: {
  custom: {
    50: '#81a962',
    500: '#48851f',
    950: '#000000',
  },
}
SCSS
$custom: #48851f;
$custom-light: #81a962;
$custom-dark: #000000;
JSON
{
  "hex": "#48851f",
  "rgb": {
    "r": 72,
    "g": 133,
    "b": 31
  },
  "hsl": {
    "h": 95.882,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55465,
    "c": 0.14684,
    "h": 135.7
  },
  "luminance": 0.18252
}

Semantic roles & 50–950 ramp

primary
#48851F
secondary
#8B49B7
accent
#43E5A4
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #48851F

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

Preview Lab → · Contrast checker → · Palette generator →

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