#48771C#48771C

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

Color values

HEX#48771C
RGBrgb(72, 119, 28)
HSLhsl(91, 62%, 29%)
HSVhsv(91, 76%, 47%)
CMYKcmyk(39.5%, 0%, 76.5%, 53.3%)
CIE-LABlab(45.16, -31.74, 42.29)
CIE-LCHlch(45.16, 52.88, 126.89°)
OKLaboklab(51.66% -0.0892 0.0948)
OKLCHoklch(51.66% 0.13 133.3)
XYZxyz(9.4788, 14.6548, 3.4276)
Luminance0.1466 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48771C #4B1C77
analogous
#76771C #48771C #1C771E
triadic
#48771C #1C4877 #771C48
tetradic
#48771C #1C7677 #4B1C77 #771E1C
square
#48771C #1C7677 #4B1C77 #771E1C
split-complementary
#48771C #1E1C77 #771C76
monochromatic
#0F1906 #2A4510 #48771C #66A928 #84D13C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##48771C#FFFFFF#000000##FFFFFF
##48771C1.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)
#7C6D0A
Deuteranopia (green-blind)
#766A25
Tritanopia (blue-blind)
#487265
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #48771c;
/* rgb */ color: rgb(72, 119, 28);
/* oklch */ color: oklch(51.7% 0.130 133.3);
Tailwind
colors: {
  custom: {
    50: '#7f9e5f',
    500: '#48771c',
    950: '#000000',
  },
}
SCSS
$custom: #48771c;
$custom-light: #7f9e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#48771c",
  "rgb": {
    "r": 72,
    "g": 119,
    "b": 28
  },
  "hsl": {
    "h": 90.989,
    "s": 61.905,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51657,
    "c": 0.1302,
    "h": 133.3
  },
  "luminance": 0.14655
}

Semantic roles & 50–950 ramp

primary
#48771C
secondary
#7944AB
accent
#43E597
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #48771C

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

Preview Lab → · Contrast checker → · Palette generator →

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