#8A891C#8A891C

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

Color values

HEX#8A891C
RGBrgb(138, 137, 28)
HSLhsl(59, 66%, 33%)
HSVhsv(59, 80%, 54%)
CMYKcmyk(0%, 0.7%, 79.7%, 45.9%)
CIE-LABlab(55.46, -12.43, 53.67)
CIE-LCHlch(55.46, 55.09, 103.04°)
OKLaboklab(61.18% -0.0402 0.1168)
OKLCHoklch(61.18% 0.124 109)
XYZxyz(19.6373, 23.3791, 4.5766)
Luminance0.2338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A891C #1C1D8A
analogous
#8A521C #8A891C #548A1C
triadic
#8A891C #1C8A89 #891C8A
tetradic
#8A891C #1C8A52 #1C1D8A #8A1C54
square
#8A891C #1C8A52 #1C1D8A #8A1C54
split-complementary
#8A891C #1C548A #521C8A
monochromatic
#242407 #575612 #8A891C #BDBC26 #DAD847

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A891C#FFFFFF#000000##000000
##8A891C1.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: #8a891c;
/* rgb */ color: rgb(138, 137, 28);
/* oklch */ color: oklch(61.2% 0.124 109.0);
Tailwind
colors: {
  custom: {
    50: '#b0ab63',
    500: '#8a891c',
    950: '#000000',
  },
}
SCSS
$custom: #8a891c;
$custom-light: #b0ab63;
$custom-dark: #000000;
JSON
{
  "hex": "#8a891c",
  "rgb": {
    "r": 138,
    "g": 137,
    "b": 28
  },
  "hsl": {
    "h": 59.455,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.61178,
    "c": 0.12354,
    "h": 109
  },
  "luminance": 0.23378
}

Semantic roles & 50–950 ramp

primary
#8A891C
secondary
#4647BB
accent
#40E93F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A891C

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

Preview Lab → · Contrast checker → · Palette generator →

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