#8D891A#8D891A

#8D891A is a mid, vivid yellow. Relative luminance 0.236; OKLCH L 61.4% C 0.124 H 107.3°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#8D891A
RGBrgb(141, 137, 26)
HSLhsl(58, 69%, 33%)
HSVhsv(58, 82%, 55%)
CMYKcmyk(0%, 2.8%, 81.6%, 44.7%)
CIE-LABlab(55.71, -11.14, 54.61)
CIE-LCHlch(55.71, 55.73, 101.53°)
OKLaboklab(61.44% -0.0369 0.1183)
OKLCHoklch(61.44% 0.124 107.3)
XYZxyz(20.1175, 23.6293, 4.4783)
Luminance0.2363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D891A #1A1E8D
analogous
#8D4F1A #8D891A #578D1A
triadic
#8D891A #1A8D89 #891A8D
tetradic
#8D891A #1A8D4F #1A1E8D #8D1A57
square
#8D891A #1A8D4F #1A1E8D #8D1A57
split-complementary
#8D891A #1A578D #4F1A8D
monochromatic
#262507 #595710 #8D891A #C1BB24 #DDD745

Accessibility & contrast

On white

3.67
#8D891A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#8D891A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D891A
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D891A#FFFFFF#000000##000000
##8D891A1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#978724
Tritanopia (blue-blind)
#987F75
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8d891a;
/* rgb */ color: rgb(141, 137, 26);
/* oklch */ color: oklch(61.4% 0.124 107.3);
Tailwind
colors: {
  custom: {
    50: '#b2ab62',
    500: '#8d891a',
    950: '#000000',
  },
}
SCSS
$custom: #8d891a;
$custom-light: #b2ab62;
$custom-dark: #000000;
JSON
{
  "hex": "#8d891a",
  "rgb": {
    "r": 141,
    "g": 137,
    "b": 26
  },
  "hsl": {
    "h": 57.913,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.61442,
    "c": 0.12395,
    "h": 107.3
  },
  "luminance": 0.23629
}

Semantic roles & 50–950 ramp

primary
#8D891A
secondary
#4549BE
accent
#42EC3C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D891A

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

Preview Lab → · Contrast checker → · Palette generator →

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