#8E891C#8E891C

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

Color values

HEX#8E891C
RGBrgb(142, 137, 28)
HSLhsl(57, 67%, 33%)
HSVhsv(57, 80%, 56%)
CMYKcmyk(0%, 3.5%, 80.3%, 44.3%)
CIE-LABlab(55.81, -10.61, 54.12)
CIE-LCHlch(55.81, 55.15, 101.09°)
OKLaboklab(61.55% -0.0353 0.1176)
OKLCHoklch(61.55% 0.123 106.7)
XYZxyz(20.3114, 23.7267, 4.6082)
Luminance0.2373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E891C #1C218E
analogous
#8E501C #8E891C #5A8E1C
triadic
#8E891C #1C8E89 #891C8E
tetradic
#8E891C #1C8E50 #1C218E #8E1C5A
square
#8E891C #1C8E50 #1C218E #8E1C5A
split-complementary
#8E891C #1C5A8E #501C8E
monochromatic
#282608 #5B5812 #8E891C #C1BA26 #DBD549

Accessibility & contrast

On white

3.66
#8E891C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#8E891C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E891C
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E891C#FFFFFF#000000##000000
##8E891C1.003.665.755.75
#FFFFFF3.661.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#988825
Tritanopia (blue-blind)
#997F75
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8e891c;
/* rgb */ color: rgb(142, 137, 28);
/* oklch */ color: oklch(61.5% 0.123 106.7);
Tailwind
colors: {
  custom: {
    50: '#b3ab63',
    500: '#8e891c',
    950: '#000000',
  },
}
SCSS
$custom: #8e891c;
$custom-light: #b3ab63;
$custom-dark: #000000;
JSON
{
  "hex": "#8e891c",
  "rgb": {
    "r": 142,
    "g": 137,
    "b": 28
  },
  "hsl": {
    "h": 57.368,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.61545,
    "c": 0.1228,
    "h": 106.7
  },
  "luminance": 0.23726
}

Semantic roles & 50–950 ramp

primary
#8E891C
secondary
#494EBD
accent
#45EA3E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8E891C

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

Preview Lab → · Contrast checker → · Palette generator →

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