#A6851F#A6851F

#A6851F is a light, moderate yellow. Relative luminance 0.250; OKLCH L 63.1% C 0.119 H 89.4°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#A6851F
RGBrgb(166, 133, 31)
HSLhsl(45, 69%, 39%)
HSVhsv(45, 81%, 65%)
CMYKcmyk(0%, 19.9%, 81.3%, 34.9%)
CIE-LABlab(57.06, 2.70, 55.14)
CIE-LCHlch(57.06, 55.21, 87.19°)
OKLaboklab(63.09% 0.0013 0.1192)
OKLCHoklch(63.09% 0.119 89.4)
XYZxyz(24.3622, 24.9826, 4.8350)
Luminance0.2498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6851F #1F40A6
analogous
#A6411F #A6851F #83A61F
triadic
#A6851F #1FA685 #851FA6
tetradic
#A6851F #1FA641 #1F40A6 #A61F83
square
#A6851F #1FA641 #1F40A6 #A61F83
split-complementary
#A6851F #1F83A6 #411FA6
monochromatic
#3F320C #725C15 #A6851F #D7AD2B #E1C15E

Accessibility & contrast

On white

3.50
#A6851F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#A6851F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A6851F
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6851F#FFFFFF#000000##000000
##A6851F1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#958405
Deuteranopia (green-blind)
#9D8D25
Tritanopia (blue-blind)
#B47972
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a6851f;
/* rgb */ color: rgb(166, 133, 31);
/* oklch */ color: oklch(63.1% 0.119 89.4);
Tailwind
colors: {
  custom: {
    50: '#c5a864',
    500: '#a6851f',
    950: '#000000',
  },
}
SCSS
$custom: #a6851f;
$custom-light: #c5a864;
$custom-dark: #000000;
JSON
{
  "hex": "#a6851f",
  "rgb": {
    "r": 166,
    "g": 133,
    "b": 31
  },
  "hsl": {
    "h": 45.333,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.63086,
    "c": 0.11922,
    "h": 89.4
  },
  "luminance": 0.24981
}

Semantic roles & 50–950 ramp

primary
#A6851F
secondary
#5B75C5
accent
#67EB3C
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#140F06
muted
#827F7A

Preview Lab

Preview with #A6851F

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

Preview Lab → · Contrast checker → · Palette generator →

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