#48540F#48540F

#48540F is a dark, moderate yellow-green. Relative luminance 0.078; OKLCH L 42.1% C 0.091 H 119.3°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#48540F
RGBrgb(72, 84, 15)
HSLhsl(70, 70%, 19%)
HSVhsv(70, 82%, 33%)
CMYKcmyk(14.3%, 0%, 82.1%, 67.1%)
CIE-LABlab(33.46, -14.90, 35.93)
CIE-LCHlch(33.46, 38.90, 112.53°)
OKLaboklab(42.13% -0.0444 0.0792)
OKLCHoklch(42.13% 0.091 119.3)
XYZxyz(5.9292, 7.7529, 1.6359)
Luminance0.0775 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48540F #1B0F54
analogous
#543E0F #48540F #26540F
triadic
#48540F #0F4854 #540F48
tetradic
#48540F #0F543E #1B0F54 #540F26
square
#48540F #0F543E #1B0F54 #540F26
split-complementary
#48540F #0F2654 #3E0F54
monochromatic
#161A05 #1B2006 #48540F #758818 #A1BC22

Accessibility & contrast

On white

8.23
#48540F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#48540F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48540F
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48540F#FFFFFF#000000##FFFFFF
##48540F1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F02
Deuteranopia (green-blind)
#594F15
Tritanopia (blue-blind)
#4D4F47
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #48540f;
/* rgb */ color: rgb(72, 84, 15);
/* oklch */ color: oklch(42.1% 0.091 119.3);
Tailwind
colors: {
  custom: {
    50: '#7d8454',
    500: '#48540f',
    950: '#000000',
  },
}
SCSS
$custom: #48540f;
$custom-light: #7d8454;
$custom-dark: #000000;
JSON
{
  "hex": "#48540f",
  "rgb": {
    "r": 72,
    "g": 84,
    "b": 15
  },
  "hsl": {
    "h": 70.435,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.42132,
    "c": 0.0908,
    "h": 119.3
  },
  "luminance": 0.07753
}

Semantic roles & 50–950 ramp

primary
#48540F
secondary
#41318E
accent
#3BED5A
background
#F7F8F5
surface
#EEEFE8
border
#C9CAC4
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #48540F

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

Preview Lab → · Contrast checker → · Palette generator →

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