#48771D#48771D

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

Color values

HEX#48771D
RGBrgb(72, 119, 29)
HSLhsl(91, 61%, 29%)
HSVhsv(91, 76%, 47%)
CMYKcmyk(39.5%, 0%, 75.6%, 53.3%)
CIE-LABlab(45.16, -31.67, 41.91)
CIE-LCHlch(45.16, 52.54, 127.08°)
OKLaboklab(51.66% -0.089 0.0942)
OKLCHoklch(51.66% 0.13 133.4)
XYZxyz(9.4909, 14.6596, 3.4917)
Luminance0.1466 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48771D #4C1D77
analogous
#75771D #48771D #1D771F
triadic
#48771D #1D4877 #771D48
tetradic
#48771D #1D7577 #4C1D77 #771F1D
square
#48771D #1D7577 #4C1D77 #771F1D
split-complementary
#48771D #1F1D77 #771D75
monochromatic
#0F1906 #2A4611 #48771D #66A829 #84D03E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##48771D#FFFFFF#000000##FFFFFF
##48771D1.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)
#7C6D0C
Deuteranopia (green-blind)
#766A26
Tritanopia (blue-blind)
#487266
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #48771d;
/* rgb */ color: rgb(72, 119, 29);
/* oklch */ color: oklch(51.7% 0.130 133.4);
Tailwind
colors: {
  custom: {
    50: '#7f9e60',
    500: '#48771d',
    950: '#000000',
  },
}
SCSS
$custom: #48771d;
$custom-light: #7f9e60;
$custom-dark: #000000;
JSON
{
  "hex": "#48771d",
  "rgb": {
    "r": 72,
    "g": 119,
    "b": 29
  },
  "hsl": {
    "h": 91.333,
    "s": 60.811,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51664,
    "c": 0.12956,
    "h": 133.4
  },
  "luminance": 0.1466
}

Semantic roles & 50–950 ramp

primary
#48771D
secondary
#7A45AB
accent
#44E497
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #48771D

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

Preview Lab → · Contrast checker → · Palette generator →

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