#A6942E#A6942E

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

Color values

HEX#A6942E
RGBrgb(166, 148, 46)
HSLhsl(51, 57%, 42%)
HSVhsv(51, 72%, 65%)
CMYKcmyk(0%, 10.8%, 72.3%, 34.9%)
CIE-LABlab(61.21, -4.88, 53.52)
CIE-LCHlch(61.21, 53.74, 95.21°)
OKLaboklab(66.39% -0.0188 0.1189)
OKLCHoklch(66.39% 0.12 99)
XYZxyz(26.8102, 29.4854, 6.8633)
Luminance0.2948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6942E #2E40A6
analogous
#A6582E #A6942E #7CA62E
triadic
#A6942E #2EA694 #942EA6
tetradic
#A6942E #2EA658 #2E40A6 #A62E7C
square
#A6942E #2EA658 #2E40A6 #A62E7C
split-complementary
#A6942E #2E7CA6 #582EA6
monochromatic
#463F13 #766921 #A6942E #CCB846 #D9CA76

Accessibility & contrast

On white

3.04
#A6942E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#A6942E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A6942E
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6942E#FFFFFF#000000##000000
##A6942E1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a6942e;
/* rgb */ color: rgb(166, 148, 46);
/* oklch */ color: oklch(66.4% 0.120 99.0);
Tailwind
colors: {
  custom: {
    50: '#c4b36e',
    500: '#a6942e',
    950: '#000000',
  },
}
SCSS
$custom: #a6942e;
$custom-light: #c4b36e;
$custom-dark: #000000;
JSON
{
  "hex": "#a6942e",
  "rgb": {
    "r": 166,
    "g": 148,
    "b": 46
  },
  "hsl": {
    "h": 51,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.66394,
    "c": 0.12032,
    "h": 99
  },
  "luminance": 0.29484
}

Semantic roles & 50–950 ramp

primary
#A6942E
secondary
#6F7BC1
accent
#5FE048
background
#FCFAF6
surface
#F8F5EC
border
#D1CFC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A6942E

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

Preview Lab → · Contrast checker → · Palette generator →

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