#A8881F#A8881F

#A8881F is a light, vivid yellow. Relative luminance 0.260; OKLCH L 63.9% C 0.121 H 90.5°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#A8881F
RGBrgb(168, 136, 31)
HSLhsl(46, 69%, 39%)
HSVhsv(46, 82%, 66%)
CMYKcmyk(0%, 19%, 81.5%, 34.1%)
CIE-LABlab(58.07, 1.95, 56.12)
CIE-LCHlch(58.07, 56.15, 88.01°)
OKLaboklab(63.93% -0.001 0.1212)
OKLCHoklch(63.93% 0.121 90.5)
XYZxyz(25.2015, 26.0337, 4.9937)
Luminance0.2603 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8881F #1F3FA8
analogous
#A8431F #A8881F #84A81F
triadic
#A8881F #1FA888 #881FA8
tetradic
#A8881F #1FA843 #1F3FA8 #A81F84
square
#A8881F #1FA843 #1F3FA8 #A81F84
split-complementary
#A8881F #1F84A8 #431FA8
monochromatic
#41340C #745E15 #A8881F #D8B02C #E2C360

Accessibility & contrast

On white

3.38
#A8881F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#A8881F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A8881F
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8881F#FFFFFF#000000##000000
##A8881F1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#988603
Deuteranopia (green-blind)
#A08F26
Tritanopia (blue-blind)
#B67C74
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a8881f;
/* rgb */ color: rgb(168, 136, 31);
/* oklch */ color: oklch(63.9% 0.121 90.5);
Tailwind
colors: {
  custom: {
    50: '#c6aa65',
    500: '#a8881f',
    950: '#000000',
  },
}
SCSS
$custom: #a8881f;
$custom-light: #c6aa65;
$custom-dark: #000000;
JSON
{
  "hex": "#a8881f",
  "rgb": {
    "r": 168,
    "g": 136,
    "b": 31
  },
  "hsl": {
    "h": 45.985,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.6393,
    "c": 0.12122,
    "h": 90.5
  },
  "luminance": 0.26032
}

Semantic roles & 50–950 ramp

primary
#A8881F
secondary
#5D75C6
accent
#65EC3C
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#140F06
muted
#827F7A

Preview Lab

Preview with #A8881F

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

Preview Lab → · Contrast checker → · Palette generator →

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