#8D891B#8D891B

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

Color values

HEX#8D891B
RGBrgb(141, 137, 27)
HSLhsl(58, 68%, 33%)
HSVhsv(58, 81%, 55%)
CMYKcmyk(0%, 2.8%, 80.9%, 44.7%)
CIE-LABlab(55.72, -11.10, 54.31)
CIE-LCHlch(55.72, 55.43, 101.55°)
OKLaboklab(61.45% -0.0368 0.1179)
OKLCHoklch(61.45% 0.123 107.3)
XYZxyz(20.1288, 23.6339, 4.5382)
Luminance0.2363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D891B #1B1F8D
analogous
#8D501B #8D891B #588D1B
triadic
#8D891B #1B8D89 #891B8D
tetradic
#8D891B #1B8D50 #1B1F8D #8D1B58
square
#8D891B #1B8D50 #1B1F8D #8D1B58
split-complementary
#8D891B #1B588D #501B8D
monochromatic
#262507 #5A5711 #8D891B #C0BB25 #DCD647

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #8d891b;
/* rgb */ color: rgb(141, 137, 27);
/* oklch */ color: oklch(61.4% 0.123 107.3);
Tailwind
colors: {
  custom: {
    50: '#b2ab62',
    500: '#8d891b',
    950: '#000000',
  },
}
SCSS
$custom: #8d891b;
$custom-light: #b2ab62;
$custom-dark: #000000;
JSON
{
  "hex": "#8d891b",
  "rgb": {
    "r": 141,
    "g": 137,
    "b": 27
  },
  "hsl": {
    "h": 57.895,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.61447,
    "c": 0.12346,
    "h": 107.3
  },
  "luminance": 0.23633
}

Semantic roles & 50–950 ramp

primary
#8D891B
secondary
#464BBD
accent
#43EB3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D891B

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

Preview Lab → · Contrast checker → · Palette generator →

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