#8E891A#8E891A

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

Color values

HEX#8E891A
RGBrgb(142, 137, 26)
HSLhsl(57, 69%, 33%)
HSVhsv(57, 82%, 56%)
CMYKcmyk(0%, 3.5%, 81.7%, 44.3%)
CIE-LABlab(55.80, -10.68, 54.72)
CIE-LCHlch(55.80, 55.75, 101.05°)
OKLaboklab(61.53% -0.0357 0.1185)
OKLCHoklch(61.53% 0.124 106.8)
XYZxyz(20.2883, 23.7174, 4.4863)
Luminance0.2372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E891A #1A1F8E
analogous
#8E4F1A #8E891A #598E1A
triadic
#8E891A #1A8E89 #891A8E
tetradic
#8E891A #1A8E4F #1A1F8E #8E1A59
square
#8E891A #1A8E4F #1A1F8E #8E1A59
split-complementary
#8E891A #1A598E #4F1A8E
monochromatic
#272507 #5A5711 #8E891A #C2BB23 #DDD645

Accessibility & contrast

On white

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

On black

5.74
#8E891A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E891A
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E891A#FFFFFF#000000##000000
##8E891A1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e891a;
/* rgb */ color: rgb(142, 137, 26);
/* oklch */ color: oklch(61.5% 0.124 106.8);
Tailwind
colors: {
  custom: {
    50: '#b3ab62',
    500: '#8e891a',
    950: '#000000',
  },
}
SCSS
$custom: #8e891a;
$custom-light: #b3ab62;
$custom-dark: #000000;
JSON
{
  "hex": "#8e891a",
  "rgb": {
    "r": 142,
    "g": 137,
    "b": 26
  },
  "hsl": {
    "h": 57.414,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.61534,
    "c": 0.12377,
    "h": 106.8
  },
  "luminance": 0.23717
}

Semantic roles & 50–950 ramp

primary
#8E891A
secondary
#454BBE
accent
#44EC3C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8E891A

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

Preview Lab → · Contrast checker → · Palette generator →

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