#8D8248#8D8248

#8D8248 is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.3% C 0.079 H 98.8°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8D8248
RGBrgb(141, 130, 72)
HSLhsl(50, 32%, 42%)
HSVhsv(50, 49%, 55%)
CMYKcmyk(0%, 7.8%, 48.9%, 44.7%)
CIE-LABlab(54.13, -4.21, 32.73)
CIE-LCHlch(54.13, 33.00, 97.33°)
OKLaboklab(60.31% -0.0122 0.0784)
OKLCHoklch(60.31% 0.079 98.8)
XYZxyz(20.1374, 22.0966, 9.3339)
Luminance0.2210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8248 #48538D
analogous
#8D6048 #8D8248 #768D48
triadic
#8D8248 #488D82 #82488D
tetradic
#8D8248 #488D60 #48538D #8D4876
square
#8D8248 #488D60 #48538D #8D4876
split-complementary
#8D8248 #48768D #60488D
monochromatic
#3C371F #645D33 #8D8248 #AFA363 #C4BB8B

Accessibility & contrast

On white

3.88
#8D8248 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#8D8248 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8248
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8248#FFFFFF#000000##000000
##8D82481.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7F43
Deuteranopia (green-blind)
#8F834A
Tritanopia (blue-blind)
#967B74
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8d8248;
/* rgb */ color: rgb(141, 130, 72);
/* oklch */ color: oklch(60.3% 0.079 98.8);
Tailwind
colors: {
  custom: {
    50: '#b0a67c',
    500: '#8d8248',
    950: '#000000',
  },
}
SCSS
$custom: #8d8248;
$custom-light: #b0a67c;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8248",
  "rgb": {
    "r": 141,
    "g": 130,
    "b": 72
  },
  "hsl": {
    "h": 50.435,
    "s": 32.394,
    "l": 41.765
  },
  "oklch": {
    "l": 0.60312,
    "c": 0.07934,
    "h": 98.8
  },
  "luminance": 0.22096
}

Semantic roles & 50–950 ramp

primary
#8D8248
secondary
#8189B0
accent
#70C95F
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#110F09
muted
#807F7B

Preview Lab

Preview with #8D8248

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

Preview Lab → · Contrast checker → · Palette generator →

#8D8248 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva