#48851A#48851A

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

Color values

HEX#48851A
RGBrgb(72, 133, 26)
HSLhsl(94, 67%, 31%)
HSVhsv(94, 80%, 52%)
CMYKcmyk(45.9%, 0%, 80.5%, 47.8%)
CIE-LABlab(49.77, -38.02, 47.45)
CIE-LCHlch(49.77, 60.81, 128.70°)
OKLaboklab(55.43% -0.1063 0.1053)
OKLCHoklch(55.43% 0.15 135.3)
XYZxyz(11.2462, 18.2267, 3.9026)
Luminance0.1823 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48851A #571A85
analogous
#7D851A #48851A #1A8521
triadic
#48851A #1A4885 #851A48
tetradic
#48851A #1A7D85 #571A85 #85211A
square
#48851A #1A7D85 #571A85 #85211A
split-complementary
#48851A #211A85 #851A7D
monochromatic
#111F06 #2C5210 #48851A #64B824 #82DA40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##48851A#FFFFFF#000000##000000
##48851A1.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)
#8A7900
Deuteranopia (green-blind)
#827526
Tritanopia (blue-blind)
#468071
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #48851a;
/* rgb */ color: rgb(72, 133, 26);
/* oklch */ color: oklch(55.4% 0.150 135.3);
Tailwind
colors: {
  custom: {
    50: '#81a960',
    500: '#48851a',
    950: '#000000',
  },
}
SCSS
$custom: #48851a;
$custom-light: #81a960;
$custom-dark: #000000;
JSON
{
  "hex": "#48851a",
  "rgb": {
    "r": 72,
    "g": 133,
    "b": 26
  },
  "hsl": {
    "h": 94.206,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55431,
    "c": 0.14965,
    "h": 135.3
  },
  "luminance": 0.18227
}

Semantic roles & 50–950 ramp

primary
#48851A
secondary
#8642B8
accent
#3EEAA0
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #48851A

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

Preview Lab → · Contrast checker → · Palette generator →

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