#A8891F#A8891F

#A8891F is a light, vivid yellow. Relative luminance 0.263; OKLCH L 64.1% C 0.122 H 91.2°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#A8891F
RGBrgb(168, 137, 31)
HSLhsl(46, 69%, 39%)
HSVhsv(46, 82%, 66%)
CMYKcmyk(0%, 18.5%, 81.5%, 34.1%)
CIE-LABlab(58.34, 1.40, 56.35)
CIE-LCHlch(58.34, 56.37, 88.57°)
OKLaboklab(64.14% -0.0026 0.1217)
OKLCHoklch(64.14% 0.122 91.2)
XYZxyz(25.3430, 26.3167, 5.0409)
Luminance0.2631 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8891F #1F3EA8
analogous
#A8441F #A8891F #83A81F
triadic
#A8891F #1FA889 #891FA8
tetradic
#A8891F #1FA844 #1F3EA8 #A81F83
square
#A8891F #1FA844 #1F3EA8 #A81F83
split-complementary
#A8891F #1F83A8 #441FA8
monochromatic
#41350C #745F15 #A8891F #D8B12C #E2C460

Accessibility & contrast

On white

3.35
#A8891F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#A8891F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A8891F
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8891F#FFFFFF#000000##000000
##A8891F1.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#998703
Deuteranopia (green-blind)
#A19026
Tritanopia (blue-blind)
#B67D75
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a8891f;
/* rgb */ color: rgb(168, 137, 31);
/* oklch */ color: oklch(64.1% 0.122 91.2);
Tailwind
colors: {
  custom: {
    50: '#c6ab65',
    500: '#a8891f',
    950: '#000000',
  },
}
SCSS
$custom: #a8891f;
$custom-light: #c6ab65;
$custom-dark: #000000;
JSON
{
  "hex": "#a8891f",
  "rgb": {
    "r": 168,
    "g": 137,
    "b": 31
  },
  "hsl": {
    "h": 46.423,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.64141,
    "c": 0.12176,
    "h": 91.2
  },
  "luminance": 0.26315
}

Semantic roles & 50–950 ramp

primary
#A8891F
secondary
#5D74C6
accent
#64EC3C
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141006
muted
#827F7A

Preview Lab

Preview with #A8891F

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

Preview Lab → · Contrast checker → · Palette generator →

#A8891F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva