#48751D#48751D

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

Color values

HEX#48751D
RGBrgb(72, 117, 29)
HSLhsl(91, 60%, 29%)
HSVhsv(91, 75%, 46%)
CMYKcmyk(38.5%, 0%, 75.2%, 54.1%)
CIE-LABlab(44.50, -30.75, 41.25)
CIE-LCHlch(44.50, 51.45, 126.70°)
OKLaboklab(51.12% -0.0865 0.0928)
OKLCHoklch(51.12% 0.127 133)
XYZxyz(9.2554, 14.1886, 3.4132)
Luminance0.1419 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48751D #4A1D75
analogous
#74751D #48751D #1D751E
triadic
#48751D #1D4875 #751D48
tetradic
#48751D #1D7475 #4A1D75 #751E1D
square
#48751D #1D7475 #4A1D75 #751E1D
split-complementary
#48751D #1E1D75 #751D74
monochromatic
#0F1906 #2A4411 #48751D #66A629 #85CF3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##48751D#FFFFFF#000000##FFFFFF
##48751D1.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)
#7A6C0D
Deuteranopia (green-blind)
#746825
Tritanopia (blue-blind)
#487064
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #48751d;
/* rgb */ color: rgb(72, 117, 29);
/* oklch */ color: oklch(51.1% 0.127 133.0);
Tailwind
colors: {
  custom: {
    50: '#7f9d5f',
    500: '#48751d',
    950: '#000000',
  },
}
SCSS
$custom: #48751d;
$custom-light: #7f9d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#48751d",
  "rgb": {
    "r": 72,
    "g": 117,
    "b": 29
  },
  "hsl": {
    "h": 90.682,
    "s": 60.274,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51123,
    "c": 0.12684,
    "h": 133
  },
  "luminance": 0.14189
}

Semantic roles & 50–950 ramp

primary
#48751D
secondary
#7845A9
accent
#44E396
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #48751D

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

Preview Lab → · Contrast checker → · Palette generator →

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