#48751C#48751C

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

Color values

HEX#48751C
RGBrgb(72, 117, 28)
HSLhsl(90, 61%, 28%)
HSVhsv(90, 76%, 46%)
CMYKcmyk(38.5%, 0%, 76.1%, 54.1%)
CIE-LABlab(44.50, -30.82, 41.64)
CIE-LCHlch(44.50, 51.81, 126.51°)
OKLaboklab(51.12% -0.0867 0.0935)
OKLCHoklch(51.12% 0.128 132.9)
XYZxyz(9.2432, 14.1837, 3.3491)
Luminance0.1418 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48751C #491C75
analogous
#74751C #48751C #1C751C
triadic
#48751C #1C4875 #751C48
tetradic
#48751C #1C7475 #491C75 #751C1C
square
#48751C #1C7475 #491C75 #751C1C
split-complementary
#48751C #1C1C75 #751C74
monochromatic
#0F1906 #2A4410 #48751C #66A628 #85D03B

Accessibility & contrast

On white

5.47
#48751C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#48751C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #48751C
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48751C#FFFFFF#000000##FFFFFF
##48751C1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B0B
Deuteranopia (green-blind)
#746825
Tritanopia (blue-blind)
#487064
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #48751c;
/* rgb */ color: rgb(72, 117, 28);
/* oklch */ color: oklch(51.1% 0.128 132.9);
Tailwind
colors: {
  custom: {
    50: '#7f9d5f',
    500: '#48751c',
    950: '#000000',
  },
}
SCSS
$custom: #48751c;
$custom-light: #7f9d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#48751c",
  "rgb": {
    "r": 72,
    "g": 117,
    "b": 28
  },
  "hsl": {
    "h": 90.337,
    "s": 61.379,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51115,
    "c": 0.1275,
    "h": 132.9
  },
  "luminance": 0.14184
}

Semantic roles & 50–950 ramp

primary
#48751C
secondary
#7744A9
accent
#43E495
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #48751C

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

Preview Lab → · Contrast checker → · Palette generator →

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