#48751F#48751F

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

Color values

HEX#48751F
RGBrgb(72, 117, 31)
HSLhsl(91, 58%, 29%)
HSVhsv(91, 74%, 46%)
CMYKcmyk(38.5%, 0%, 73.5%, 54.1%)
CIE-LABlab(44.52, -30.60, 40.46)
CIE-LCHlch(44.52, 50.73, 127.10°)
OKLaboklab(51.14% -0.0859 0.0915)
OKLCHoklch(51.14% 0.125 133.2)
XYZxyz(9.2810, 14.1988, 3.5477)
Luminance0.1420 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48751F #4C1F75
analogous
#73751F #48751F #1F7521
triadic
#48751F #1F4875 #751F48
tetradic
#48751F #1F7375 #4C1F75 #75211F
square
#48751F #1F7375 #4C1F75 #75211F
split-complementary
#48751F #211F75 #751F73
monochromatic
#0F1806 #2A4512 #48751F #66A52C #84CD42

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##48751F#FFFFFF#000000##FFFFFF
##48751F1.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)
#7A6C11
Deuteranopia (green-blind)
#746827
Tritanopia (blue-blind)
#487064
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #48751f;
/* rgb */ color: rgb(72, 117, 31);
/* oklch */ color: oklch(51.1% 0.125 133.2);
Tailwind
colors: {
  custom: {
    50: '#7f9d60',
    500: '#48751f',
    950: '#000000',
  },
}
SCSS
$custom: #48751f;
$custom-light: #7f9d60;
$custom-dark: #000000;
JSON
{
  "hex": "#48751f",
  "rgb": {
    "r": 72,
    "g": 117,
    "b": 31
  },
  "hsl": {
    "h": 91.395,
    "s": 58.108,
    "l": 29.02
  },
  "oklch": {
    "l": 0.5114,
    "c": 0.12547,
    "h": 133.2
  },
  "luminance": 0.14199
}

Semantic roles & 50–950 ramp

primary
#48751F
secondary
#7A47A9
accent
#46E198
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #48751F

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

Preview Lab → · Contrast checker → · Palette generator →

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