#48791F#48791F

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

Color values

HEX#48791F
RGBrgb(72, 121, 31)
HSLhsl(93, 59%, 30%)
HSVhsv(93, 74%, 47%)
CMYKcmyk(40.5%, 0%, 74.4%, 52.5%)
CIE-LABlab(45.84, -32.44, 41.80)
CIE-LCHlch(45.84, 52.91, 127.81°)
OKLaboklab(52.22% -0.0909 0.0943)
OKLCHoklch(52.22% 0.131 134)
XYZxyz(9.7570, 15.1509, 3.7064)
Luminance0.1515 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48791F #501F79
analogous
#75791F #48791F #1F7923
triadic
#48791F #1F4879 #791F48
tetradic
#48791F #1F7579 #501F79 #79231F
square
#48791F #1F7579 #501F79 #79231F
split-complementary
#48791F #231F79 #791F75
monochromatic
#0E1806 #2B4813 #48791F #65AA2B #83CF43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #48791f;
/* rgb */ color: rgb(72, 121, 31);
/* oklch */ color: oklch(52.2% 0.131 134.0);
Tailwind
colors: {
  custom: {
    50: '#7fa061',
    500: '#48791f',
    950: '#000000',
  },
}
SCSS
$custom: #48791f;
$custom-light: #7fa061;
$custom-dark: #000000;
JSON
{
  "hex": "#48791f",
  "rgb": {
    "r": 72,
    "g": 121,
    "b": 31
  },
  "hsl": {
    "h": 92.667,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52221,
    "c": 0.13094,
    "h": 134
  },
  "luminance": 0.15151
}

Semantic roles & 50–950 ramp

primary
#48791F
secondary
#7E47AC
accent
#45E29B
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #48791F

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

Preview Lab → · Contrast checker → · Palette generator →

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