#48791D#48791D

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

Color values

HEX#48791D
RGBrgb(72, 121, 29)
HSLhsl(92, 61%, 29%)
HSVhsv(92, 76%, 47%)
CMYKcmyk(40.5%, 0%, 76%, 52.5%)
CIE-LABlab(45.83, -32.58, 42.57)
CIE-LCHlch(45.83, 53.61, 127.43°)
OKLaboklab(52.21% -0.0914 0.0956)
OKLCHoklch(52.21% 0.132 133.7)
XYZxyz(9.7315, 15.1407, 3.5719)
Luminance0.1514 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48791D #4E1D79
analogous
#76791D #48791D #1D7920
triadic
#48791D #1D4879 #791D48
tetradic
#48791D #1D7679 #4E1D79 #79201D
square
#48791D #1D7679 #4E1D79 #79201D
split-complementary
#48791D #201D79 #791D76
monochromatic
#0F1906 #2B4811 #48791D #65AA29 #83D13F

Accessibility & contrast

On white

5.21
#48791D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #48791D
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48791D#FFFFFF#000000##FFFFFF
##48791D1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #48791d;
/* rgb */ color: rgb(72, 121, 29);
/* oklch */ color: oklch(52.2% 0.132 133.7);
Tailwind
colors: {
  custom: {
    50: '#7fa060',
    500: '#48791d',
    950: '#000000',
  },
}
SCSS
$custom: #48791d;
$custom-light: #7fa060;
$custom-dark: #000000;
JSON
{
  "hex": "#48791d",
  "rgb": {
    "r": 72,
    "g": 121,
    "b": 29
  },
  "hsl": {
    "h": 91.957,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52205,
    "c": 0.13225,
    "h": 133.7
  },
  "luminance": 0.15141
}

Semantic roles & 50–950 ramp

primary
#48791D
secondary
#7C45AD
accent
#43E499
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #48791D

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

Preview Lab → · Contrast checker → · Palette generator →

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