#8D891D#8D891D

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

Color values

HEX#8D891D
RGBrgb(141, 137, 29)
HSLhsl(58, 66%, 33%)
HSVhsv(58, 79%, 55%)
CMYKcmyk(0%, 2.8%, 79.4%, 44.7%)
CIE-LABlab(55.73, -11.03, 53.69)
CIE-LCHlch(55.73, 54.81, 101.61°)
OKLaboklab(61.46% -0.0364 0.1169)
OKLCHoklch(61.46% 0.122 107.3)
XYZxyz(20.1528, 23.6435, 4.6642)
Luminance0.2364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D891D #1D218D
analogous
#8D511D #8D891D #598D1D
triadic
#8D891D #1D8D89 #891D8D
tetradic
#8D891D #1D8D51 #1D218D #8D1D59
square
#8D891D #1D8D51 #1D218D #8D1D59
split-complementary
#8D891D #1D598D #511D8D
monochromatic
#272608 #5A5813 #8D891D #C0BA27 #DAD54B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D891D#FFFFFF#000000##000000
##8D891D1.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)
#978726
Tritanopia (blue-blind)
#987F75
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8d891d;
/* rgb */ color: rgb(141, 137, 29);
/* oklch */ color: oklch(61.5% 0.122 107.3);
Tailwind
colors: {
  custom: {
    50: '#b2ab63',
    500: '#8d891d',
    950: '#000000',
  },
}
SCSS
$custom: #8d891d;
$custom-light: #b2ab63;
$custom-dark: #000000;
JSON
{
  "hex": "#8d891d",
  "rgb": {
    "r": 141,
    "g": 137,
    "b": 29
  },
  "hsl": {
    "h": 57.857,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.61458,
    "c": 0.12245,
    "h": 107.3
  },
  "luminance": 0.23643
}

Semantic roles & 50–950 ramp

primary
#8D891D
secondary
#4A4EBC
accent
#45E93F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D891D

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

Preview Lab → · Contrast checker → · Palette generator →

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