#8D8323#8D8323

#8D8323 is a mid, moderate yellow. Relative luminance 0.220; OKLCH L 60.1% C 0.113 H 103.2°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#8D8323
RGBrgb(141, 131, 35)
HSLhsl(54, 60%, 35%)
HSVhsv(54, 75%, 55%)
CMYKcmyk(0%, 7.1%, 75.2%, 44.7%)
CIE-LABlab(54.05, -7.50, 50.03)
CIE-LCHlch(54.05, 50.59, 98.53°)
OKLaboklab(60.13% -0.0259 0.1103)
OKLCHoklch(60.13% 0.113 103.2)
XYZxyz(19.4050, 22.0175, 4.8174)
Luminance0.2202 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8323 #232D8D
analogous
#8D4E23 #8D8323 #628D23
triadic
#8D8323 #238D83 #83238D
tetradic
#8D8323 #238D4E #232D8D #8D2362
square
#8D8323 #238D4E #232D8D #8D2362
split-complementary
#8D8323 #23628D #4E238D
monochromatic
#2B280B #5C5517 #8D8323 #BEB12F #D5C955

Accessibility & contrast

On white

3.89
#8D8323 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#8D8323 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8323
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8323#FFFFFF#000000##000000
##8D83231.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F11
Deuteranopia (green-blind)
#92832A
Tritanopia (blue-blind)
#987970
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8d8323;
/* rgb */ color: rgb(141, 131, 35);
/* oklch */ color: oklch(60.1% 0.113 103.2);
Tailwind
colors: {
  custom: {
    50: '#b2a665',
    500: '#8d8323',
    950: '#000000',
  },
}
SCSS
$custom: #8d8323;
$custom-light: #b2a665;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8323",
  "rgb": {
    "r": 141,
    "g": 131,
    "b": 35
  },
  "hsl": {
    "h": 54.34,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.60128,
    "c": 0.11332,
    "h": 103.2
  },
  "luminance": 0.22017
}

Semantic roles & 50–950 ramp

primary
#8D8323
secondary
#535CB9
accent
#53E344
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D8323

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

Preview Lab → · Contrast checker → · Palette generator →

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