#A6942A#A6942A

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

Color values

HEX#A6942A
RGBrgb(166, 148, 42)
HSLhsl(51, 60%, 41%)
HSVhsv(51, 75%, 65%)
CMYKcmyk(0%, 10.8%, 74.7%, 34.9%)
CIE-LABlab(61.18, -5.07, 55.04)
CIE-LCHlch(61.18, 55.27, 95.27°)
OKLaboklab(66.36% -0.0197 0.1213)
OKLCHoklch(66.36% 0.123 99.2)
XYZxyz(26.7350, 29.4553, 6.4673)
Luminance0.2945 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6942A #2A3CA6
analogous
#A6562A #A6942A #7AA62A
triadic
#A6942A #2AA694 #942AA6
tetradic
#A6942A #2AA656 #2A3CA6 #A62A7A
square
#A6942A #2AA656 #2A3CA6 #A62A7A
split-complementary
#A6942A #2A7AA6 #562AA6
monochromatic
#443D11 #75681E #A6942A #CEBA3F #DBCB70

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6942A#FFFFFF#000000##000000
##A6942A1.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)
#A39017
Deuteranopia (green-blind)
#A89631
Tritanopia (blue-blind)
#B3897F
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a6942a;
/* rgb */ color: rgb(166, 148, 42);
/* oklch */ color: oklch(66.4% 0.123 99.2);
Tailwind
colors: {
  custom: {
    50: '#c4b36b',
    500: '#a6942a',
    950: '#000000',
  },
}
SCSS
$custom: #a6942a;
$custom-light: #c4b36b;
$custom-dark: #000000;
JSON
{
  "hex": "#a6942a",
  "rgb": {
    "r": 166,
    "g": 148,
    "b": 42
  },
  "hsl": {
    "h": 51.29,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.66365,
    "c": 0.1229,
    "h": 99.2
  },
  "luminance": 0.29454
}

Semantic roles & 50–950 ramp

primary
#A6942A
secondary
#6A77C2
accent
#5CE345
background
#FCFAF6
surface
#F8F5EC
border
#D1CFC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A6942A

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

Preview Lab → · Contrast checker → · Palette generator →

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