#8D8223#8D8223

#8D8223 is a mid, moderate yellow. Relative luminance 0.217; OKLCH L 59.9% C 0.112 H 102.5°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#8D8223
RGBrgb(141, 130, 35)
HSLhsl(54, 60%, 35%)
HSVhsv(54, 75%, 55%)
CMYKcmyk(0%, 7.8%, 75.2%, 44.7%)
CIE-LABlab(53.76, -6.95, 49.76)
CIE-LCHlch(53.76, 50.24, 97.96°)
OKLaboklab(59.9% -0.0244 0.1097)
OKLCHoklch(59.9% 0.112 102.5)
XYZxyz(19.2714, 21.7502, 4.7729)
Luminance0.2175 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8223 #232E8D
analogous
#8D4D23 #8D8223 #638D23
triadic
#8D8223 #238D82 #82238D
tetradic
#8D8223 #238D4D #232E8D #8D2363
square
#8D8223 #238D4D #232E8D #8D2363
split-complementary
#8D8223 #23638D #4D238D
monochromatic
#2B280B #5C5517 #8D8223 #BEAF2F #D5C855

Accessibility & contrast

On white

3.93
#8D8223 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#8D8223 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8223
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8223#FFFFFF#000000##000000
##8D82231.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E12
Deuteranopia (green-blind)
#92832A
Tritanopia (blue-blind)
#987870
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8d8223;
/* rgb */ color: rgb(141, 130, 35);
/* oklch */ color: oklch(59.9% 0.112 102.5);
Tailwind
colors: {
  custom: {
    50: '#b2a665',
    500: '#8d8223',
    950: '#000000',
  },
}
SCSS
$custom: #8d8223;
$custom-light: #b2a665;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8223",
  "rgb": {
    "r": 141,
    "g": 130,
    "b": 35
  },
  "hsl": {
    "h": 53.774,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59901,
    "c": 0.11241,
    "h": 102.5
  },
  "luminance": 0.21749
}

Semantic roles & 50–950 ramp

primary
#8D8223
secondary
#535DB9
accent
#55E344
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D8223

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

Preview Lab → · Contrast checker → · Palette generator →

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