#8D891C#8D891C

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

Color values

HEX#8D891C
RGBrgb(141, 137, 28)
HSLhsl(58, 67%, 33%)
HSVhsv(58, 80%, 55%)
CMYKcmyk(0%, 2.8%, 80.1%, 44.7%)
CIE-LABlab(55.72, -11.07, 54.00)
CIE-LCHlch(55.72, 55.13, 101.58°)
OKLaboklab(61.45% -0.0366 0.1174)
OKLCHoklch(61.45% 0.123 107.3)
XYZxyz(20.1406, 23.6386, 4.6002)
Luminance0.2364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D891C #1C208D
analogous
#8D501C #8D891C #588D1C
triadic
#8D891C #1C8D89 #891C8D
tetradic
#8D891C #1C8D50 #1C208D #8D1C58
square
#8D891C #1C8D50 #1C208D #8D1C58
split-complementary
#8D891C #1C588D #501C8D
monochromatic
#272608 #5A5712 #8D891C #C0BB26 #DBD649

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D891C#FFFFFF#000000##000000
##8D891C1.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: #8d891c;
/* rgb */ color: rgb(141, 137, 28);
/* oklch */ color: oklch(61.5% 0.123 107.3);
Tailwind
colors: {
  custom: {
    50: '#b2ab63',
    500: '#8d891c',
    950: '#000000',
  },
}
SCSS
$custom: #8d891c;
$custom-light: #b2ab63;
$custom-dark: #000000;
JSON
{
  "hex": "#8d891c",
  "rgb": {
    "r": 141,
    "g": 137,
    "b": 28
  },
  "hsl": {
    "h": 57.876,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.61452,
    "c": 0.12297,
    "h": 107.3
  },
  "luminance": 0.23638
}

Semantic roles & 50–950 ramp

primary
#8D891C
secondary
#484CBD
accent
#44EA3E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D891C

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

Preview Lab → · Contrast checker → · Palette generator →

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