#48851B#48851B

#48851B is a mid, vivid yellow-green. Relative luminance 0.182; OKLCH L 55.4% C 0.149 H 135.4°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#48851B
RGBrgb(72, 133, 27)
HSLhsl(95, 66%, 31%)
HSVhsv(95, 80%, 52%)
CMYKcmyk(45.9%, 0%, 79.7%, 47.8%)
CIE-LABlab(49.78, -37.96, 47.13)
CIE-LCHlch(49.78, 60.52, 128.85°)
OKLaboklab(55.44% -0.1061 0.1048)
OKLCHoklch(55.44% 0.149 135.4)
XYZxyz(11.2576, 18.2312, 3.9625)
Luminance0.1823 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48851B #581B85
analogous
#7D851B #48851B #1B8523
triadic
#48851B #1B4885 #851B48
tetradic
#48851B #1B7D85 #581B85 #85231B
square
#48851B #1B7D85 #581B85 #85231B
split-complementary
#48851B #231B85 #851B7D
monochromatic
#111F06 #2C5211 #48851B #64B825 #82D942

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##48851B#FFFFFF#000000##000000
##48851B1.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)
#8A7A00
Deuteranopia (green-blind)
#827527
Tritanopia (blue-blind)
#468071
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #48851b;
/* rgb */ color: rgb(72, 133, 27);
/* oklch */ color: oklch(55.4% 0.149 135.4);
Tailwind
colors: {
  custom: {
    50: '#81a961',
    500: '#48851b',
    950: '#000000',
  },
}
SCSS
$custom: #48851b;
$custom-light: #81a961;
$custom-dark: #000000;
JSON
{
  "hex": "#48851b",
  "rgb": {
    "r": 72,
    "g": 133,
    "b": 27
  },
  "hsl": {
    "h": 94.528,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55437,
    "c": 0.14912,
    "h": 135.4
  },
  "luminance": 0.18232
}

Semantic roles & 50–950 ramp

primary
#48851B
secondary
#8744B8
accent
#3FE9A1
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #48851B

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

Preview Lab → · Contrast checker → · Palette generator →

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