#8D8428#8D8428

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

Color values

HEX#8D8428
RGBrgb(141, 132, 40)
HSLhsl(55, 56%, 35%)
HSVhsv(55, 72%, 55%)
CMYKcmyk(0%, 6.4%, 71.6%, 44.7%)
CIE-LABlab(54.36, -7.80, 48.38)
CIE-LCHlch(54.36, 49.00, 99.15°)
OKLaboklab(60.39% -0.0262 0.1078)
OKLCHoklch(60.39% 0.111 103.7)
XYZxyz(19.6196, 22.3192, 5.2817)
Luminance0.2232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8428 #28318D
analogous
#8D5128 #8D8428 #648D28
triadic
#8D8428 #288D84 #84288D
tetradic
#8D8428 #288D51 #28318D #8D2864
square
#8D8428 #288D51 #28318D #8D2864
split-complementary
#8D8428 #28648D #51288D
monochromatic
#2E2B0D #5D571A #8D8428 #BDB136 #D1C75E

Accessibility & contrast

On white

3.84
#8D8428 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D8428#FFFFFF#000000##000000
##8D84281.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F1A
Deuteranopia (green-blind)
#93842E
Tritanopia (blue-blind)
#987B72
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8d8428;
/* rgb */ color: rgb(141, 132, 40);
/* oklch */ color: oklch(60.4% 0.111 103.7);
Tailwind
colors: {
  custom: {
    50: '#b1a768',
    500: '#8d8428',
    950: '#000000',
  },
}
SCSS
$custom: #8d8428;
$custom-light: #b1a768;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8428",
  "rgb": {
    "r": 141,
    "g": 132,
    "b": 40
  },
  "hsl": {
    "h": 54.653,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.60392,
    "c": 0.11092,
    "h": 103.7
  },
  "luminance": 0.22318
}

Semantic roles & 50–950 ramp

primary
#8D8428
secondary
#5A62B7
accent
#56DF49
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D8428

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

Preview Lab → · Contrast checker → · Palette generator →

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