#48811B#48811B

#48811B is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.4% C 0.144 H 134.8°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#48811B
RGBrgb(72, 129, 27)
HSLhsl(94, 65%, 31%)
HSVhsv(94, 79%, 51%)
CMYKcmyk(44.2%, 0%, 79.1%, 49.4%)
CIE-LABlab(48.46, -36.25, 45.87)
CIE-LCHlch(48.46, 58.47, 128.32°)
OKLaboklab(54.36% -0.1015 0.1021)
OKLCHoklch(54.36% 0.144 134.8)
XYZxyz(10.7203, 17.1568, 3.7834)
Luminance0.1716 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48811B #541B81
analogous
#7B811B #48811B #1B8121
triadic
#48811B #1B4881 #811B48
tetradic
#48811B #1B7B81 #541B81 #81211B
square
#48811B #1B7B81 #541B81 #81211B
split-complementary
#48811B #211B81 #811B7B
monochromatic
#101C06 #2C4E10 #48811B #64B426 #82D73F

Accessibility & contrast

On white

4.74
#48811B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#48811B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #48811B
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48811B#FFFFFF#000000##FFFFFF
##48811B1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867602
Deuteranopia (green-blind)
#7E7126
Tritanopia (blue-blind)
#477C6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #48811b;
/* rgb */ color: rgb(72, 129, 27);
/* oklch */ color: oklch(54.4% 0.144 134.8);
Tailwind
colors: {
  custom: {
    50: '#81a660',
    500: '#48811b',
    950: '#000000',
  },
}
SCSS
$custom: #48811b;
$custom-light: #81a660;
$custom-dark: #000000;
JSON
{
  "hex": "#48811b",
  "rgb": {
    "r": 72,
    "g": 129,
    "b": 27
  },
  "hsl": {
    "h": 93.529,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54356,
    "c": 0.14399,
    "h": 134.8
  },
  "luminance": 0.17157
}

Semantic roles & 50–950 ramp

primary
#48811B
secondary
#8343B5
accent
#3FE89E
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #48811B

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

Preview Lab → · Contrast checker → · Palette generator →

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