#8A891D#8A891D

#8A891D is a mid, vivid yellow. Relative luminance 0.234; OKLCH L 61.2% C 0.123 H 109.0°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#8A891D
RGBrgb(138, 137, 29)
HSLhsl(59, 65%, 33%)
HSVhsv(59, 79%, 54%)
CMYKcmyk(0%, 0.7%, 79%, 45.9%)
CIE-LABlab(55.47, -12.39, 53.35)
CIE-LCHlch(55.47, 54.78, 103.08°)
OKLaboklab(61.18% -0.04 0.1163)
OKLCHoklch(61.18% 0.123 109)
XYZxyz(19.6494, 23.3839, 4.6407)
Luminance0.2338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A891D #1D1E8A
analogous
#8A531D #8A891D #548A1D
triadic
#8A891D #1D8A89 #891D8A
tetradic
#8A891D #1D8A53 #1D1E8A #8A1D54
square
#8A891D #1D8A53 #1D1E8A #8A1D54
split-complementary
#8A891D #1D548A #531D8A
monochromatic
#252508 #575712 #8A891D #BDBB28 #D9D749

Accessibility & contrast

On white

3.70
#8A891D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#8A891D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A891D
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A891D#FFFFFF#000000##000000
##8A891D1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#968626
Tritanopia (blue-blind)
#948075
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a891d;
/* rgb */ color: rgb(138, 137, 29);
/* oklch */ color: oklch(61.2% 0.123 109.0);
Tailwind
colors: {
  custom: {
    50: '#b0ab63',
    500: '#8a891d',
    950: '#000000',
  },
}
SCSS
$custom: #8a891d;
$custom-light: #b0ab63;
$custom-dark: #000000;
JSON
{
  "hex": "#8a891d",
  "rgb": {
    "r": 138,
    "g": 137,
    "b": 29
  },
  "hsl": {
    "h": 59.45,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.61183,
    "c": 0.12303,
    "h": 109
  },
  "luminance": 0.23383
}

Semantic roles & 50–950 ramp

primary
#8A891D
secondary
#4849BB
accent
#41E840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A891D

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

Preview Lab → · Contrast checker → · Palette generator →

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