#48751B#48751B

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

Color values

HEX#48751B
RGBrgb(72, 117, 27)
HSLhsl(90, 63%, 28%)
HSVhsv(90, 77%, 46%)
CMYKcmyk(38.5%, 0%, 76.9%, 54.1%)
CIE-LABlab(44.49, -30.89, 42.02)
CIE-LCHlch(44.49, 52.15, 126.33°)
OKLaboklab(51.11% -0.087 0.0941)
OKLCHoklch(51.11% 0.128 132.8)
XYZxyz(9.2315, 14.1790, 3.2871)
Luminance0.1418 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48751B #481B75
analogous
#75751B #48751B #1B751B
triadic
#48751B #1B4875 #751B48
tetradic
#48751B #1B7575 #481B75 #751B1B
square
#48751B #1B7575 #481B75 #751B1B
split-complementary
#48751B #1B1B75 #751B75
monochromatic
#0F1906 #294310 #48751B #67A726 #85D139

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##48751B#FFFFFF#000000##FFFFFF
##48751B1.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)
#7A6B09
Deuteranopia (green-blind)
#746824
Tritanopia (blue-blind)
#497064
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #48751b;
/* rgb */ color: rgb(72, 117, 27);
/* oklch */ color: oklch(51.1% 0.128 132.8);
Tailwind
colors: {
  custom: {
    50: '#7f9d5e',
    500: '#48751b',
    950: '#000000',
  },
}
SCSS
$custom: #48751b;
$custom-light: #7f9d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#48751b",
  "rgb": {
    "r": 72,
    "g": 117,
    "b": 27
  },
  "hsl": {
    "h": 90,
    "s": 62.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51108,
    "c": 0.12815,
    "h": 132.8
  },
  "luminance": 0.14179
}

Semantic roles & 50–950 ramp

primary
#48751B
secondary
#7642A9
accent
#42E694
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #48751B

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

Preview Lab → · Contrast checker → · Palette generator →

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