#48540C#48540C

#48540C is a dark, moderate yellow-green. Relative luminance 0.077; OKLCH L 42.1% C 0.093 H 119.2°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#48540C
RGBrgb(72, 84, 12)
HSLhsl(70, 75%, 19%)
HSVhsv(70, 86%, 33%)
CMYKcmyk(14.3%, 0%, 85.7%, 67.1%)
CIE-LABlab(33.45, -15.05, 36.97)
CIE-LCHlch(33.45, 39.92, 112.15°)
OKLaboklab(42.11% -0.0451 0.0808)
OKLCHoklch(42.11% 0.093 119.2)
XYZxyz(5.9093, 7.7449, 1.5314)
Luminance0.0775 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48540C #180C54
analogous
#543C0C #48540C #24540C
triadic
#48540C #0C4854 #540C48
tetradic
#48540C #0C543C #180C54 #540C24
square
#48540C #0C543C #180C54 #540C24
split-complementary
#48540C #0C2454 #3C0C54
monochromatic
#171B04 #1A1E04 #48540C #768A14 #A4BF1B

Accessibility & contrast

On white

8.24
#48540C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #48540C
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48540C#FFFFFF#000000##FFFFFF
##48540C1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #48540c;
/* rgb */ color: rgb(72, 84, 12);
/* oklch */ color: oklch(42.1% 0.093 119.2);
Tailwind
colors: {
  custom: {
    50: '#7e8452',
    500: '#48540c',
    950: '#000000',
  },
}
SCSS
$custom: #48540c;
$custom-light: #7e8452;
$custom-dark: #000000;
JSON
{
  "hex": "#48540c",
  "rgb": {
    "r": 72,
    "g": 84,
    "b": 12
  },
  "hsl": {
    "h": 70,
    "s": 75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.42113,
    "c": 0.09255,
    "h": 119.2
  },
  "luminance": 0.07745
}

Semantic roles & 50–950 ramp

primary
#48540C
secondary
#3D2D8F
accent
#36F255
background
#F7F8F4
surface
#EEEFE7
border
#C9CAC3
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #48540C

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

Preview Lab → · Contrast checker → · Palette generator →

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