#48791B#48791B

#48791B is a mid, vivid yellow-green. Relative luminance 0.151; OKLCH L 52.2% C 0.134 H 133.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#48791B
RGBrgb(72, 121, 27)
HSLhsl(91, 64%, 29%)
HSVhsv(91, 78%, 47%)
CMYKcmyk(40.5%, 0%, 77.7%, 52.5%)
CIE-LABlab(45.81, -32.72, 43.31)
CIE-LCHlch(45.81, 54.28, 127.07°)
OKLaboklab(52.19% -0.0919 0.0968)
OKLCHoklch(52.19% 0.134 133.5)
XYZxyz(9.7075, 15.1311, 3.4458)
Luminance0.1513 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48791B #4C1B79
analogous
#77791B #48791B #1B791D
triadic
#48791B #1B4879 #791B48
tetradic
#48791B #1B7779 #4C1B79 #791D1B
square
#48791B #1B7779 #4C1B79 #791D1B
split-complementary
#48791B #1D1B79 #791B77
monochromatic
#0F1906 #2A4710 #48791B #66AB26 #84D33B

Accessibility & contrast

On white

5.22
#48791B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#48791B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #48791B
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48791B#FFFFFF#000000##FFFFFF
##48791B1.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F07
Deuteranopia (green-blind)
#776B24
Tritanopia (blue-blind)
#487467
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #48791b;
/* rgb */ color: rgb(72, 121, 27);
/* oklch */ color: oklch(52.2% 0.134 133.5);
Tailwind
colors: {
  custom: {
    50: '#80a05f',
    500: '#48791b',
    950: '#000000',
  },
}
SCSS
$custom: #48791b;
$custom-light: #80a05f;
$custom-dark: #000000;
JSON
{
  "hex": "#48791b",
  "rgb": {
    "r": 72,
    "g": 121,
    "b": 27
  },
  "hsl": {
    "h": 91.277,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52191,
    "c": 0.1335,
    "h": 133.5
  },
  "luminance": 0.15132
}

Semantic roles & 50–950 ramp

primary
#48791B
secondary
#7A43AD
accent
#41E797
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #48791B

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

Preview Lab → · Contrast checker → · Palette generator →

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