#48771E#48771E

#48771E is a mid, vivid yellow-green. Relative luminance 0.147; OKLCH L 51.7% C 0.129 H 133.5°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#48771E
RGBrgb(72, 119, 30)
HSLhsl(92, 60%, 29%)
HSVhsv(92, 75%, 47%)
CMYKcmyk(39.5%, 0%, 74.8%, 53.3%)
CIE-LABlab(45.17, -31.60, 41.53)
CIE-LCHlch(45.17, 52.18, 127.27°)
OKLaboklab(51.67% -0.0887 0.0935)
OKLCHoklch(51.67% 0.129 133.5)
XYZxyz(9.5035, 14.6647, 3.5579)
Luminance0.1467 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48771E #4D1E77
analogous
#75771E #48771E #1E7720
triadic
#48771E #1E4877 #771E48
tetradic
#48771E #1E7577 #4D1E77 #77201E
square
#48771E #1E7577 #4D1E77 #77201E
split-complementary
#48771E #201E77 #771E75
monochromatic
#0F1806 #2A4612 #48771E #66A82A #84CF40

Accessibility & contrast

On white

5.34
#48771E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#48771E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #48771E
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48771E#FFFFFF#000000##FFFFFF
##48771E1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D0E
Deuteranopia (green-blind)
#766A26
Tritanopia (blue-blind)
#487266
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #48771e;
/* rgb */ color: rgb(72, 119, 30);
/* oklch */ color: oklch(51.7% 0.129 133.5);
Tailwind
colors: {
  custom: {
    50: '#7f9e60',
    500: '#48771e',
    950: '#000000',
  },
}
SCSS
$custom: #48771e;
$custom-light: #7f9e60;
$custom-dark: #000000;
JSON
{
  "hex": "#48771e",
  "rgb": {
    "r": 72,
    "g": 119,
    "b": 30
  },
  "hsl": {
    "h": 91.685,
    "s": 59.732,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51672,
    "c": 0.12889,
    "h": 133.5
  },
  "luminance": 0.14665
}

Semantic roles & 50–950 ramp

primary
#48771E
secondary
#7B46AB
accent
#45E398
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #48771E

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

Preview Lab → · Contrast checker → · Palette generator →

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