#A8871C#A8871C

#A8871C is a light, vivid yellow. Relative luminance 0.257; OKLCH L 63.7% C 0.122 H 90.0°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#A8871C
RGBrgb(168, 135, 28)
HSLhsl(46, 71%, 38%)
HSVhsv(46, 83%, 66%)
CMYKcmyk(0%, 19.6%, 83.3%, 34.1%)
CIE-LABlab(57.79, 2.41, 56.82)
CIE-LCHlch(57.79, 56.87, 87.57°)
OKLaboklab(63.7% 0 0.1221)
OKLCHoklch(63.7% 0.122 90)
XYZxyz(25.0236, 25.7383, 4.7484)
Luminance0.2574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8871C #1C3DA8
analogous
#A8411C #A8871C #83A81C
triadic
#A8871C #1CA887 #871CA8
tetradic
#A8871C #1CA841 #1C3DA8 #A81C83
square
#A8871C #1CA841 #1C3DA8 #A81C83
split-complementary
#A8871C #1C83A8 #411CA8
monochromatic
#3F330B #745D13 #A8871C #DBB026 #E4C35B

Accessibility & contrast

On white

3.42
#A8871C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#A8871C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A8871C
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8871C#FFFFFF#000000##000000
##A8871C1.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#A08F23
Tritanopia (blue-blind)
#B77B73
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a8871c;
/* rgb */ color: rgb(168, 135, 28);
/* oklch */ color: oklch(63.7% 0.122 90.0);
Tailwind
colors: {
  custom: {
    50: '#c6a963',
    500: '#a8871c',
    950: '#000000',
  },
}
SCSS
$custom: #a8871c;
$custom-light: #c6a963;
$custom-dark: #000000;
JSON
{
  "hex": "#a8871c",
  "rgb": {
    "r": 168,
    "g": 135,
    "b": 28
  },
  "hsl": {
    "h": 45.857,
    "s": 71.429,
    "l": 38.431
  },
  "oklch": {
    "l": 0.63704,
    "c": 0.12209,
    "h": 90
  },
  "luminance": 0.25737
}

Semantic roles & 50–950 ramp

primary
#A8871C
secondary
#5873C7
accent
#64EE3A
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#140F06
muted
#827F7A

Preview Lab

Preview with #A8871C

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

Preview Lab → · Contrast checker → · Palette generator →

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