#8A881D#8A881D

#8A881D is a mid, vivid yellow. Relative luminance 0.231; OKLCH L 61.0% C 0.122 H 108.4°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8A881D
RGBrgb(138, 136, 29)
HSLhsl(59, 65%, 33%)
HSVhsv(59, 79%, 54%)
CMYKcmyk(0%, 1.4%, 79%, 45.9%)
CIE-LABlab(55.18, -11.86, 53.09)
CIE-LCHlch(55.18, 54.40, 102.59°)
OKLaboklab(60.95% -0.0385 0.1158)
OKLCHoklch(60.95% 0.122 108.4)
XYZxyz(19.5079, 23.1009, 4.5935)
Luminance0.2310 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A881D #1D1F8A
analogous
#8A511D #8A881D #558A1D
triadic
#8A881D #1D8A88 #881D8A
tetradic
#8A881D #1D8A51 #1D1F8A #8A1D55
square
#8A881D #1D8A51 #1D1F8A #8A1D55
split-complementary
#8A881D #1D558A #511D8A
monochromatic
#252408 #575612 #8A881D #BDBA28 #D9D649

Accessibility & contrast

On white

3.74
#8A881D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#8A881D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A881D
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A881D#FFFFFF#000000##000000
##8A881D1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#958626
Tritanopia (blue-blind)
#947F74
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a881d;
/* rgb */ color: rgb(138, 136, 29);
/* oklch */ color: oklch(61.0% 0.122 108.4);
Tailwind
colors: {
  custom: {
    50: '#b0aa63',
    500: '#8a881d',
    950: '#000000',
  },
}
SCSS
$custom: #8a881d;
$custom-light: #b0aa63;
$custom-dark: #000000;
JSON
{
  "hex": "#8a881d",
  "rgb": {
    "r": 138,
    "g": 136,
    "b": 29
  },
  "hsl": {
    "h": 58.899,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.60952,
    "c": 0.12203,
    "h": 108.4
  },
  "luminance": 0.231
}

Semantic roles & 50–950 ramp

primary
#8A881D
secondary
#484ABB
accent
#43E840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A881D

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

Preview Lab → · Contrast checker → · Palette generator →

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