#8A881A#8A881A

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

Color values

HEX#8A881A
RGBrgb(138, 136, 26)
HSLhsl(59, 68%, 32%)
HSVhsv(59, 81%, 54%)
CMYKcmyk(0%, 1.4%, 81.2%, 45.9%)
CIE-LABlab(55.16, -11.97, 54.02)
CIE-LCHlch(55.16, 55.33, 102.50°)
OKLaboklab(60.94% -0.0391 0.1172)
OKLCHoklch(60.94% 0.124 108.5)
XYZxyz(19.4726, 23.0868, 4.4075)
Luminance0.2309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A881A #1A1C8A
analogous
#8A501A #8A881A #548A1A
triadic
#8A881A #1A8A88 #881A8A
tetradic
#8A881A #1A8A50 #1A1C8A #8A1A54
square
#8A881A #1A8A50 #1A1C8A #8A1A54
split-complementary
#8A881A #1A548A #501A8A
monochromatic
#232207 #575510 #8A881A #BDBB24 #DCD943

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A881A#FFFFFF#000000##000000
##8A881A1.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)
#968624
Tritanopia (blue-blind)
#957F74
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a881a;
/* rgb */ color: rgb(138, 136, 26);
/* oklch */ color: oklch(60.9% 0.124 108.5);
Tailwind
colors: {
  custom: {
    50: '#b0aa62',
    500: '#8a881a',
    950: '#000000',
  },
}
SCSS
$custom: #8a881a;
$custom-light: #b0aa62;
$custom-dark: #000000;
JSON
{
  "hex": "#8a881a",
  "rgb": {
    "r": 138,
    "g": 136,
    "b": 26
  },
  "hsl": {
    "h": 58.929,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.60936,
    "c": 0.12354,
    "h": 108.5
  },
  "luminance": 0.23086
}

Semantic roles & 50–950 ramp

primary
#8A881A
secondary
#4345BD
accent
#40EB3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A881A

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

Preview Lab → · Contrast checker → · Palette generator →

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