#8E891D#8E891D

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

Color values

HEX#8E891D
RGBrgb(142, 137, 29)
HSLhsl(57, 66%, 34%)
HSVhsv(57, 80%, 56%)
CMYKcmyk(0%, 3.5%, 79.6%, 44.3%)
CIE-LABlab(55.82, -10.57, 53.80)
CIE-LCHlch(55.82, 54.83, 101.11°)
OKLaboklab(61.55% -0.0352 0.1171)
OKLCHoklch(61.55% 0.122 106.7)
XYZxyz(20.3236, 23.7316, 4.6723)
Luminance0.2373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E891D #1D228E
analogous
#8E501D #8E891D #5A8E1D
triadic
#8E891D #1D8E89 #891D8E
tetradic
#8E891D #1D8E50 #1D228E #8E1D5A
square
#8E891D #1D8E50 #1D228E #8E1D5A
split-complementary
#8E891D #1D5A8E #501D8E
monochromatic
#282708 #5B5813 #8E891D #C1BA27 #DAD44B

Accessibility & contrast

On white

3.65
#8E891D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E891D#FFFFFF#000000##000000
##8E891D1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e891d;
/* rgb */ color: rgb(142, 137, 29);
/* oklch */ color: oklch(61.6% 0.122 106.7);
Tailwind
colors: {
  custom: {
    50: '#b3ab63',
    500: '#8e891d',
    950: '#000000',
  },
}
SCSS
$custom: #8e891d;
$custom-light: #b3ab63;
$custom-dark: #000000;
JSON
{
  "hex": "#8e891d",
  "rgb": {
    "r": 142,
    "g": 137,
    "b": 29
  },
  "hsl": {
    "h": 57.345,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.6155,
    "c": 0.12228,
    "h": 106.7
  },
  "luminance": 0.23731
}

Semantic roles & 50–950 ramp

primary
#8E891D
secondary
#4A4FBD
accent
#46E93F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8E891D

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

Preview Lab → · Contrast checker → · Palette generator →

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