#48541F#48541F

#48541F is a dark, moderate yellow-green. Relative luminance 0.078; OKLCH L 42.3% C 0.078 H 120.5°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#48541F
RGBrgb(72, 84, 31)
HSLhsl(74, 46%, 23%)
HSVhsv(74, 63%, 33%)
CMYKcmyk(14.3%, 0%, 63.1%, 67.1%)
CIE-LABlab(33.60, -13.71, 28.79)
CIE-LCHlch(33.60, 31.89, 115.47°)
OKLaboklab(42.29% -0.0394 0.0668)
OKLCHoklch(42.29% 0.078 120.5)
XYZxyz(6.0902, 7.8173, 2.4841)
Luminance0.0782 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48541F #2B1F54
analogous
#54461F #48541F #2D541F
triadic
#48541F #1F4854 #541F48
tetradic
#48541F #1F5446 #2B1F54 #541F2D
square
#48541F #1F5446 #2B1F54 #541F2D
split-complementary
#48541F #1F2D54 #461F54
monochromatic
#131608 #22270F #48541F #6E812F #95AD40

Accessibility & contrast

On white

8.19
#48541F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#48541F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48541F
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48541F#FFFFFF#000000##FFFFFF
##48541F1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F19
Deuteranopia (green-blind)
#584F22
Tritanopia (blue-blind)
#4C5049
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #48541f;
/* rgb */ color: rgb(72, 84, 31);
/* oklch */ color: oklch(42.3% 0.078 120.5);
Tailwind
colors: {
  custom: {
    50: '#7c845d',
    500: '#48541f',
    950: '#000000',
  },
}
SCSS
$custom: #48541f;
$custom-light: #7c845d;
$custom-dark: #000000;
JSON
{
  "hex": "#48541f",
  "rgb": {
    "r": 72,
    "g": 84,
    "b": 31
  },
  "hsl": {
    "h": 73.585,
    "s": 46.087,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42285,
    "c": 0.07758,
    "h": 120.5
  },
  "luminance": 0.07817
}

Semantic roles & 50–950 ramp

primary
#48541F
secondary
#554689
accent
#52D670
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #48541F

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

Preview Lab → · Contrast checker → · Palette generator →

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