#48751A#48751A

#48751A is a mid, vivid yellow-green. Relative luminance 0.142; OKLCH L 51.1% C 0.129 H 132.7°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#48751A
RGBrgb(72, 117, 26)
HSLhsl(90, 64%, 28%)
HSVhsv(90, 78%, 46%)
CMYKcmyk(38.5%, 0%, 77.8%, 54.1%)
CIE-LABlab(44.48, -30.96, 42.39)
CIE-LCHlch(44.48, 52.49, 126.15°)
OKLaboklab(51.1% -0.0873 0.0947)
OKLCHoklch(51.1% 0.129 132.7)
XYZxyz(9.2201, 14.1745, 3.2272)
Luminance0.1417 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48751A #471A75
analogous
#75741A #48751A #1B751A
triadic
#48751A #1A4875 #751A48
tetradic
#48751A #1A7574 #471A75 #751A1B
square
#48751A #1A7574 #471A75 #751A1B
split-complementary
#48751A #1A1B75 #741A75
monochromatic
#0F1906 #29430F #48751A #67A725 #86D337

Accessibility & contrast

On white

5.48
#48751A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#48751A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #48751A
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48751A#FFFFFF#000000##FFFFFF
##48751A1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B07
Deuteranopia (green-blind)
#746823
Tritanopia (blue-blind)
#497064
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #48751a;
/* rgb */ color: rgb(72, 117, 26);
/* oklch */ color: oklch(51.1% 0.129 132.7);
Tailwind
colors: {
  custom: {
    50: '#7f9d5e',
    500: '#48751a',
    950: '#000000',
  },
}
SCSS
$custom: #48751a;
$custom-light: #7f9d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#48751a",
  "rgb": {
    "r": 72,
    "g": 117,
    "b": 26
  },
  "hsl": {
    "h": 89.67,
    "s": 63.636,
    "l": 28.039
  },
  "oklch": {
    "l": 0.511,
    "c": 0.12877,
    "h": 132.7
  },
  "luminance": 0.14175
}

Semantic roles & 50–950 ramp

primary
#48751A
secondary
#7541AA
accent
#41E793
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #48751A

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

Preview Lab → · Contrast checker → · Palette generator →

#48751A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva