#8A881C#8A881C

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

Color values

HEX#8A881C
RGBrgb(138, 136, 28)
HSLhsl(59, 66%, 33%)
HSVhsv(59, 80%, 54%)
CMYKcmyk(0%, 1.4%, 79.7%, 45.9%)
CIE-LABlab(55.17, -11.90, 53.41)
CIE-LCHlch(55.17, 54.72, 102.56°)
OKLaboklab(60.95% -0.0387 0.1163)
OKLCHoklch(60.95% 0.123 108.4)
XYZxyz(19.4958, 23.0961, 4.5294)
Luminance0.2309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A881C #1C1E8A
analogous
#8A511C #8A881C #558A1C
triadic
#8A881C #1C8A88 #881C8A
tetradic
#8A881C #1C8A51 #1C1E8A #8A1C55
square
#8A881C #1C8A51 #1C1E8A #8A1C55
split-complementary
#8A881C #1C558A #511C8A
monochromatic
#242407 #575612 #8A881C #BDBA26 #DAD747

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A881C#FFFFFF#000000##000000
##8A881C1.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)
#958625
Tritanopia (blue-blind)
#947F74
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a881c;
/* rgb */ color: rgb(138, 136, 28);
/* oklch */ color: oklch(60.9% 0.123 108.4);
Tailwind
colors: {
  custom: {
    50: '#b0aa63',
    500: '#8a881c',
    950: '#000000',
  },
}
SCSS
$custom: #8a881c;
$custom-light: #b0aa63;
$custom-dark: #000000;
JSON
{
  "hex": "#8a881c",
  "rgb": {
    "r": 138,
    "g": 136,
    "b": 28
  },
  "hsl": {
    "h": 58.909,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.60947,
    "c": 0.12254,
    "h": 108.4
  },
  "luminance": 0.23095
}

Semantic roles & 50–950 ramp

primary
#8A881C
secondary
#4649BB
accent
#42E93F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A881C

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

Preview Lab → · Contrast checker → · Palette generator →

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