#48791E#48791E

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

Color values

HEX#48791E
RGBrgb(72, 121, 30)
HSLhsl(92, 60%, 30%)
HSVhsv(92, 75%, 47%)
CMYKcmyk(40.5%, 0%, 75.2%, 52.5%)
CIE-LABlab(45.83, -32.51, 42.19)
CIE-LCHlch(45.83, 53.27, 127.62°)
OKLaboklab(52.21% -0.0912 0.0949)
OKLCHoklch(52.21% 0.132 133.8)
XYZxyz(9.7440, 15.1457, 3.6380)
Luminance0.1515 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48791E #4F1E79
analogous
#76791E #48791E #1E7922
triadic
#48791E #1E4879 #791E48
tetradic
#48791E #1E7679 #4F1E79 #79221E
square
#48791E #1E7679 #4F1E79 #79221E
split-complementary
#48791E #221E79 #791E76
monochromatic
#0F1906 #2B4812 #48791E #65AA2A #83D041

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##48791E#FFFFFF#000000##FFFFFF
##48791E1.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)
#7E6F0E
Deuteranopia (green-blind)
#776B27
Tritanopia (blue-blind)
#487467
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #48791e;
/* rgb */ color: rgb(72, 121, 30);
/* oklch */ color: oklch(52.2% 0.132 133.8);
Tailwind
colors: {
  custom: {
    50: '#7fa060',
    500: '#48791e',
    950: '#000000',
  },
}
SCSS
$custom: #48791e;
$custom-light: #7fa060;
$custom-dark: #000000;
JSON
{
  "hex": "#48791e",
  "rgb": {
    "r": 72,
    "g": 121,
    "b": 30
  },
  "hsl": {
    "h": 92.308,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52213,
    "c": 0.13161,
    "h": 133.8
  },
  "luminance": 0.15146
}

Semantic roles & 50–950 ramp

primary
#48791E
secondary
#7D46AD
accent
#44E39A
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #48791E

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

Preview Lab → · Contrast checker → · Palette generator →

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