#48851C#48851C

#48851C 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#48851C
RGBrgb(72, 133, 28)
HSLhsl(95, 65%, 32%)
HSVhsv(95, 79%, 52%)
CMYKcmyk(45.9%, 0%, 78.9%, 47.8%)
CIE-LABlab(49.78, -37.90, 46.79)
CIE-LCHlch(49.78, 60.22, 129.01°)
OKLaboklab(55.44% -0.1059 0.1042)
OKLCHoklch(55.44% 0.149 135.4)
XYZxyz(11.2693, 18.2359, 4.0245)
Luminance0.1824 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48851C #591C85
analogous
#7D851C #48851C #1C8525
triadic
#48851C #1C4885 #851C48
tetradic
#48851C #1C7D85 #591C85 #85251C
square
#48851C #1C7D85 #591C85 #85251C
split-complementary
#48851C #251C85 #851C7D
monochromatic
#112007 #2D5211 #48851C #63B827 #82D844

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #48851c;
/* rgb */ color: rgb(72, 133, 28);
/* oklch */ color: oklch(55.4% 0.149 135.4);
Tailwind
colors: {
  custom: {
    50: '#81a961',
    500: '#48851c',
    950: '#000000',
  },
}
SCSS
$custom: #48851c;
$custom-light: #81a961;
$custom-dark: #000000;
JSON
{
  "hex": "#48851c",
  "rgb": {
    "r": 72,
    "g": 133,
    "b": 28
  },
  "hsl": {
    "h": 94.857,
    "s": 65.217,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55444,
    "c": 0.14857,
    "h": 135.4
  },
  "luminance": 0.18237
}

Semantic roles & 50–950 ramp

primary
#48851C
secondary
#8845B8
accent
#40E8A2
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #48851C

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

Preview Lab → · Contrast checker → · Palette generator →

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