#8D8423#8D8423

#8D8423 is a mid, moderate yellow. Relative luminance 0.223; OKLCH L 60.4% C 0.114 H 103.9°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#8D8423
RGBrgb(141, 132, 35)
HSLhsl(55, 60%, 35%)
HSVhsv(55, 75%, 55%)
CMYKcmyk(0%, 6.4%, 75.2%, 44.7%)
CIE-LABlab(54.33, -8.05, 50.30)
CIE-LCHlch(54.33, 50.94, 99.09°)
OKLaboklab(60.35% -0.0275 0.1109)
OKLCHoklch(60.35% 0.114 103.9)
XYZxyz(19.5400, 22.2874, 4.8624)
Luminance0.2229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8423 #232C8D
analogous
#8D4F23 #8D8423 #618D23
triadic
#8D8423 #238D84 #84238D
tetradic
#8D8423 #238D4F #232C8D #8D2361
square
#8D8423 #238D4F #232C8D #8D2361
split-complementary
#8D8423 #23618D #4F238D
monochromatic
#2B280B #5C5617 #8D8423 #BEB22F #D5CA55

Accessibility & contrast

On white

3.85
#8D8423 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#8D8423 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8423
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8423#FFFFFF#000000##000000
##8D84231.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F11
Deuteranopia (green-blind)
#93842A
Tritanopia (blue-blind)
#987B71
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8d8423;
/* rgb */ color: rgb(141, 132, 35);
/* oklch */ color: oklch(60.4% 0.114 103.9);
Tailwind
colors: {
  custom: {
    50: '#b2a765',
    500: '#8d8423',
    950: '#000000',
  },
}
SCSS
$custom: #8d8423;
$custom-light: #b2a765;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8423",
  "rgb": {
    "r": 141,
    "g": 132,
    "b": 35
  },
  "hsl": {
    "h": 54.906,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.60354,
    "c": 0.11425,
    "h": 103.9
  },
  "luminance": 0.22287
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D8423

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

Preview Lab → · Contrast checker → · Palette generator →

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