#8D8752#8D8752

#8D8752 is a mid, moderate yellow. Relative luminance 0.236; OKLCH L 61.6% C 0.073 H 102.7°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8D8752
RGBrgb(141, 135, 82)
HSLhsl(54, 26%, 44%)
HSVhsv(54, 42%, 55%)
CMYKcmyk(0%, 4.3%, 41.8%, 44.7%)
CIE-LABlab(55.69, -5.90, 29.27)
CIE-LCHlch(55.69, 29.86, 101.39°)
OKLaboklab(61.59% -0.0161 0.0713)
OKLCHoklch(61.59% 0.073 102.7)
XYZxyz(21.1719, 23.6004, 11.4211)
Luminance0.2360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8752 #52588D
analogous
#8D6952 #8D8752 #758D52
triadic
#8D8752 #528D87 #87528D
tetradic
#8D8752 #528D69 #52588D #8D5275
square
#8D8752 #528D69 #52588D #8D5275
split-complementary
#8D8752 #52758D #69528D
monochromatic
#403D25 #66623B #8D8752 #ACA670 #C2BE97

Accessibility & contrast

On white

3.67
#8D8752 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#8D8752 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8752
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8752#FFFFFF#000000##000000
##8D87521.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#90844E
Deuteranopia (green-blind)
#928754
Tritanopia (blue-blind)
#95807A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8d8752;
/* rgb */ color: rgb(141, 135, 82);
/* oklch */ color: oklch(61.6% 0.073 102.7);
Tailwind
colors: {
  custom: {
    50: '#afa983',
    500: '#8d8752',
    950: '#000000',
  },
}
SCSS
$custom: #8d8752;
$custom-light: #afa983;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8752",
  "rgb": {
    "r": 141,
    "g": 135,
    "b": 82
  },
  "hsl": {
    "h": 53.898,
    "s": 26.457,
    "l": 43.725
  },
  "oklch": {
    "l": 0.61593,
    "c": 0.07309,
    "h": 102.7
  },
  "luminance": 0.236
}

Semantic roles & 50–950 ramp

primary
#8D8752
secondary
#8B8FAF
accent
#6FC365
background
#FAFAF8
surface
#F5F4EF
border
#CFCECA
text
#100F0B
muted
#7F7F7C

Preview Lab

Preview with #8D8752

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

Preview Lab → · Contrast checker → · Palette generator →

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