#A6871F#A6871F

#A6871F is a light, vivid yellow. Relative luminance 0.255; OKLCH L 63.5% C 0.120 H 90.9°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#A6871F
RGBrgb(166, 135, 31)
HSLhsl(46, 69%, 39%)
HSVhsv(46, 81%, 65%)
CMYKcmyk(0%, 18.7%, 81.3%, 34.9%)
CIE-LABlab(57.59, 1.60, 55.61)
CIE-LCHlch(57.59, 55.64, 88.36°)
OKLaboklab(63.51% -0.0019 0.1202)
OKLCHoklch(63.51% 0.12 90.9)
XYZxyz(24.6387, 25.5355, 4.9272)
Luminance0.2553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6871F #1F3EA6
analogous
#A6431F #A6871F #81A61F
triadic
#A6871F #1FA687 #871FA6
tetradic
#A6871F #1FA643 #1F3EA6 #A61F81
square
#A6871F #1FA643 #1F3EA6 #A61F81
split-complementary
#A6871F #1F81A6 #431FA6
monochromatic
#3F330C #725D15 #A6871F #D7B02B #E1C35E

Accessibility & contrast

On white

3.44
#A6871F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#A6871F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A6871F
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6871F#FFFFFF#000000##000000
##A6871F1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#978504
Deuteranopia (green-blind)
#9F8E26
Tritanopia (blue-blind)
#B47B74
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a6871f;
/* rgb */ color: rgb(166, 135, 31);
/* oklch */ color: oklch(63.5% 0.120 90.9);
Tailwind
colors: {
  custom: {
    50: '#c5a965',
    500: '#a6871f',
    950: '#000000',
  },
}
SCSS
$custom: #a6871f;
$custom-light: #c5a965;
$custom-dark: #000000;
JSON
{
  "hex": "#a6871f",
  "rgb": {
    "r": 166,
    "g": 135,
    "b": 31
  },
  "hsl": {
    "h": 46.222,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.63507,
    "c": 0.12026,
    "h": 90.9
  },
  "luminance": 0.25534
}

Semantic roles & 50–950 ramp

primary
#A6871F
secondary
#5B74C5
accent
#65EB3C
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#140F06
muted
#827F7A

Preview Lab

Preview with #A6871F

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

Preview Lab → · Contrast checker → · Palette generator →

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