#48791A#48791A

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

Color values

HEX#48791A
RGBrgb(72, 121, 26)
HSLhsl(91, 65%, 29%)
HSVhsv(91, 79%, 47%)
CMYKcmyk(40.5%, 0%, 78.5%, 52.5%)
CIE-LABlab(45.81, -32.78, 43.67)
CIE-LCHlch(45.81, 54.61, 126.89°)
OKLaboklab(52.18% -0.0922 0.0974)
OKLCHoklch(52.18% 0.134 133.4)
XYZxyz(9.6962, 15.1266, 3.3859)
Luminance0.1513 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48791A #4B1A79
analogous
#78791A #48791A #1A791B
triadic
#48791A #1A4879 #791A48
tetradic
#48791A #1A7879 #4B1A79 #791B1A
square
#48791A #1A7879 #4B1A79 #791B1A
split-complementary
#48791A #1B1A79 #791A78
monochromatic
#0F1905 #2A470F #48791A #66AB25 #84D439

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##48791A#FFFFFF#000000##FFFFFF
##48791A1.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)
#7E6F05
Deuteranopia (green-blind)
#776B24
Tritanopia (blue-blind)
#487467
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #48791a;
/* rgb */ color: rgb(72, 121, 26);
/* oklch */ color: oklch(52.2% 0.134 133.4);
Tailwind
colors: {
  custom: {
    50: '#80a05e',
    500: '#48791a',
    950: '#000000',
  },
}
SCSS
$custom: #48791a;
$custom-light: #80a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#48791a",
  "rgb": {
    "r": 72,
    "g": 121,
    "b": 26
  },
  "hsl": {
    "h": 90.947,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52184,
    "c": 0.1341,
    "h": 133.4
  },
  "luminance": 0.15127
}

Semantic roles & 50–950 ramp

primary
#48791A
secondary
#7941AD
accent
#40E897
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #48791A

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

Preview Lab → · Contrast checker → · Palette generator →

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