#A6942C#A6942C

#A6942C is a light, vivid yellow. Relative luminance 0.295; OKLCH L 66.4% C 0.122 H 99.1°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#A6942C
RGBrgb(166, 148, 44)
HSLhsl(51, 58%, 41%)
HSVhsv(51, 73%, 65%)
CMYKcmyk(0%, 10.8%, 73.5%, 34.9%)
CIE-LABlab(61.19, -4.98, 54.29)
CIE-LCHlch(61.19, 54.52, 95.24°)
OKLaboklab(66.38% -0.0193 0.1201)
OKLCHoklch(66.38% 0.122 99.1)
XYZxyz(26.7717, 29.4700, 6.6605)
Luminance0.2947 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6942C #2C3EA6
analogous
#A6572C #A6942C #7BA62C
triadic
#A6942C #2CA694 #942CA6
tetradic
#A6942C #2CA657 #2C3EA6 #A62C7B
square
#A6942C #2CA657 #2C3EA6 #A62C7B
split-complementary
#A6942C #2C7BA6 #572CA6
monochromatic
#453E12 #76691F #A6942C #CDB842 #DACB73

Accessibility & contrast

On white

3.05
#A6942C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#A6942C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A6942C
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6942C#FFFFFF#000000##000000
##A6942C1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3901B
Deuteranopia (green-blind)
#A89633
Tritanopia (blue-blind)
#B38980
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a6942c;
/* rgb */ color: rgb(166, 148, 44);
/* oklch */ color: oklch(66.4% 0.122 99.1);
Tailwind
colors: {
  custom: {
    50: '#c4b36c',
    500: '#a6942c',
    950: '#000000',
  },
}
SCSS
$custom: #a6942c;
$custom-light: #c4b36c;
$custom-dark: #000000;
JSON
{
  "hex": "#a6942c",
  "rgb": {
    "r": 166,
    "g": 148,
    "b": 44
  },
  "hsl": {
    "h": 51.148,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.66379,
    "c": 0.12164,
    "h": 99.1
  },
  "luminance": 0.29469
}

Semantic roles & 50–950 ramp

primary
#A6942C
secondary
#6D79C1
accent
#5DE146
background
#FCFAF6
surface
#F8F5EC
border
#D1CFC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A6942C

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

Preview Lab → · Contrast checker → · Palette generator →

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