#48801B#48801B

#48801B is a mid, vivid yellow-green. Relative luminance 0.169; OKLCH L 54.1% C 0.143 H 134.7°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#48801B
RGBrgb(72, 128, 27)
HSLhsl(93, 65%, 30%)
HSVhsv(93, 79%, 50%)
CMYKcmyk(43.8%, 0%, 78.9%, 49.8%)
CIE-LABlab(48.13, -35.82, 45.55)
CIE-LCHlch(48.13, 57.95, 128.18°)
OKLaboklab(54.09% -0.1003 0.1015)
OKLCHoklch(54.09% 0.143 134.7)
XYZxyz(10.5893, 16.8946, 3.7397)
Luminance0.1689 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48801B #531B80
analogous
#7A801B #48801B #1B8020
triadic
#48801B #1B4880 #801B48
tetradic
#48801B #1B7A80 #531B80 #80201B
square
#48801B #1B7A80 #531B80 #80201B
split-complementary
#48801B #201B80 #801B7A
monochromatic
#0F1B06 #2C4D10 #48801B #64B326 #82D63F

Accessibility & contrast

On white

4.80
#48801B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#48801B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #48801B
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48801B#FFFFFF#000000##FFFFFF
##48801B1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857503
Deuteranopia (green-blind)
#7E7126
Tritanopia (blue-blind)
#477B6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #48801b;
/* rgb */ color: rgb(72, 128, 27);
/* oklch */ color: oklch(54.1% 0.143 134.7);
Tailwind
colors: {
  custom: {
    50: '#80a560',
    500: '#48801b',
    950: '#000000',
  },
}
SCSS
$custom: #48801b;
$custom-light: #80a560;
$custom-dark: #000000;
JSON
{
  "hex": "#48801b",
  "rgb": {
    "r": 72,
    "g": 128,
    "b": 27
  },
  "hsl": {
    "h": 93.267,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54085,
    "c": 0.1427,
    "h": 134.7
  },
  "luminance": 0.16895
}

Semantic roles & 50–950 ramp

primary
#48801B
secondary
#8243B4
accent
#40E89D
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #48801B

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

Preview Lab → · Contrast checker → · Palette generator →

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