#8A891B#8A891B

#8A891B 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.67:1 contrast (WCAG AA passes).

Color values

HEX#8A891B
RGBrgb(138, 137, 27)
HSLhsl(59, 67%, 32%)
HSVhsv(59, 80%, 54%)
CMYKcmyk(0%, 0.7%, 80.4%, 45.9%)
CIE-LABlab(55.46, -12.47, 53.98)
CIE-LCHlch(55.46, 55.40, 103.01°)
OKLaboklab(61.17% -0.0404 0.1173)
OKLCHoklch(61.17% 0.124 109)
XYZxyz(19.6255, 23.3744, 4.5146)
Luminance0.2337 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A891B #1B1C8A
analogous
#8A511B #8A891B #548A1B
triadic
#8A891B #1B8A89 #891B8A
tetradic
#8A891B #1B8A51 #1B1C8A #8A1B54
square
#8A891B #1B8A51 #1B1C8A #8A1B54
split-complementary
#8A891B #1B548A #511B8A
monochromatic
#242307 #575611 #8A891B #BDBC25 #DBD945

Accessibility & contrast

On white

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

On black

5.67
#8A891B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A891B
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A891B#FFFFFF#000000##000000
##8A891B1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a891b;
/* rgb */ color: rgb(138, 137, 27);
/* oklch */ color: oklch(61.2% 0.124 109.0);
Tailwind
colors: {
  custom: {
    50: '#b0ab62',
    500: '#8a891b',
    950: '#000000',
  },
}
SCSS
$custom: #8a891b;
$custom-light: #b0ab62;
$custom-dark: #000000;
JSON
{
  "hex": "#8a891b",
  "rgb": {
    "r": 138,
    "g": 137,
    "b": 27
  },
  "hsl": {
    "h": 59.459,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.61173,
    "c": 0.12405,
    "h": 109
  },
  "luminance": 0.23374
}

Semantic roles & 50–950 ramp

primary
#8A891B
secondary
#4546BC
accent
#3FEA3E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A891B

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

Preview Lab → · Contrast checker → · Palette generator →

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