#8D851A#8D851A

#8D851A is a mid, vivid yellow. Relative luminance 0.225; OKLCH L 60.5% C 0.120 H 104.9°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#8D851A
RGBrgb(141, 133, 26)
HSLhsl(56, 69%, 33%)
HSVhsv(56, 82%, 55%)
CMYKcmyk(0%, 5.7%, 81.6%, 44.7%)
CIE-LABlab(54.57, -8.97, 53.60)
CIE-LCHlch(54.57, 54.35, 99.51°)
OKLaboklab(60.53% -0.0309 0.1161)
OKLCHoklch(60.53% 0.12 104.9)
XYZxyz(19.5594, 22.5132, 4.2923)
Luminance0.2251 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D851A #1A228D
analogous
#8D4B1A #8D851A #5B8D1A
triadic
#8D851A #1A8D85 #851A8D
tetradic
#8D851A #1A8D4B #1A228D #8D1A5B
square
#8D851A #1A8D4B #1A228D #8D1A5B
split-complementary
#8D851A #1A5B8D #4B1A8D
monochromatic
#262407 #595410 #8D851A #C1B624 #DDD245

Accessibility & contrast

On white

3.82
#8D851A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#8D851A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D851A
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D851A#FFFFFF#000000##000000
##8D851A1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#948523
Tritanopia (blue-blind)
#987B71
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8d851a;
/* rgb */ color: rgb(141, 133, 26);
/* oklch */ color: oklch(60.5% 0.120 104.9);
Tailwind
colors: {
  custom: {
    50: '#b2a861',
    500: '#8d851a',
    950: '#000000',
  },
}
SCSS
$custom: #8d851a;
$custom-light: #b2a861;
$custom-dark: #000000;
JSON
{
  "hex": "#8d851a",
  "rgb": {
    "r": 141,
    "g": 133,
    "b": 26
  },
  "hsl": {
    "h": 55.826,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.60527,
    "c": 0.12017,
    "h": 104.9
  },
  "luminance": 0.22512
}

Semantic roles & 50–950 ramp

primary
#8D851A
secondary
#454DBE
accent
#48EC3C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8D851A

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

Preview Lab → · Contrast checker → · Palette generator →

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