#8D891E#8D891E

#8D891E 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#8D891E
RGBrgb(141, 137, 30)
HSLhsl(58, 65%, 34%)
HSVhsv(58, 79%, 55%)
CMYKcmyk(0%, 2.8%, 78.7%, 44.7%)
CIE-LABlab(55.73, -10.99, 53.37)
CIE-LCHlch(55.73, 54.49, 101.63°)
OKLaboklab(61.46% -0.0362 0.1164)
OKLCHoklch(61.46% 0.122 107.3)
XYZxyz(20.1653, 23.6485, 4.7304)
Luminance0.2365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D891E #1E228D
analogous
#8D511E #8D891E #598D1E
triadic
#8D891E #1E8D89 #891E8D
tetradic
#8D891E #1E8D51 #1E228D #8D1E59
square
#8D891E #1E8D51 #1E228D #8D1E59
split-complementary
#8D891E #1E598D #511E8D
monochromatic
#282709 #5B5813 #8D891E #BFBA29 #D9D44C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D891E#FFFFFF#000000##000000
##8D891E1.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)
#958302
Deuteranopia (green-blind)
#978727
Tritanopia (blue-blind)
#987F75
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8d891e;
/* rgb */ color: rgb(141, 137, 30);
/* oklch */ color: oklch(61.5% 0.122 107.3);
Tailwind
colors: {
  custom: {
    50: '#b2ab64',
    500: '#8d891e',
    950: '#000000',
  },
}
SCSS
$custom: #8d891e;
$custom-light: #b2ab64;
$custom-dark: #000000;
JSON
{
  "hex": "#8d891e",
  "rgb": {
    "r": 141,
    "g": 137,
    "b": 30
  },
  "hsl": {
    "h": 57.838,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.61463,
    "c": 0.12192,
    "h": 107.3
  },
  "luminance": 0.23648
}

Semantic roles & 50–950 ramp

primary
#8D891E
secondary
#4B4FBC
accent
#46E840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D891E

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

Preview Lab → · Contrast checker → · Palette generator →

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