#8D8A52#8D8A52

#8D8A52 is a light, moderate yellow. Relative luminance 0.244; OKLCH L 62.3% C 0.077 H 105.8°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#8D8A52
RGBrgb(141, 138, 82)
HSLhsl(57, 26%, 44%)
HSVhsv(57, 42%, 55%)
CMYKcmyk(0%, 2.1%, 41.8%, 44.7%)
CIE-LABlab(56.53, -7.54, 30.35)
CIE-LCHlch(56.53, 31.27, 103.96°)
OKLaboklab(62.27% -0.0208 0.0738)
OKLCHoklch(62.27% 0.077 105.8)
XYZxyz(21.5963, 24.4494, 11.5626)
Luminance0.2445 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8A52 #52558D
analogous
#8D6C52 #8D8A52 #728D52
triadic
#8D8A52 #528D8A #8A528D
tetradic
#8D8A52 #528D6C #52558D #8D5272
square
#8D8A52 #528D6C #52558D #8D5272
split-complementary
#8D8A52 #52728D #6C528D
monochromatic
#403E25 #66643B #8D8A52 #ACA970 #C2C097

Accessibility & contrast

On white

3.57
#8D8A52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#8D8A52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8A52
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8A52#FFFFFF#000000##000000
##8D8A521.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#93864E
Deuteranopia (green-blind)
#948954
Tritanopia (blue-blind)
#95837C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8d8a52;
/* rgb */ color: rgb(141, 138, 82);
/* oklch */ color: oklch(62.3% 0.077 105.8);
Tailwind
colors: {
  custom: {
    50: '#afac83',
    500: '#8d8a52',
    950: '#000000',
  },
}
SCSS
$custom: #8d8a52;
$custom-light: #afac83;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8a52",
  "rgb": {
    "r": 141,
    "g": 138,
    "b": 82
  },
  "hsl": {
    "h": 56.949,
    "s": 26.457,
    "l": 43.725
  },
  "oklch": {
    "l": 0.62267,
    "c": 0.07663,
    "h": 105.8
  },
  "luminance": 0.24449
}

Semantic roles & 50–950 ramp

primary
#8D8A52
secondary
#8B8DAF
accent
#6AC365
background
#FAFAF8
surface
#F5F4EF
border
#CFCECA
text
#10100B
muted
#7F7F7C

Preview Lab

Preview with #8D8A52

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

Preview Lab → · Contrast checker → · Palette generator →

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