#A6942B#A6942B

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

Color values

HEX#A6942B
RGBrgb(166, 148, 43)
HSLhsl(51, 59%, 41%)
HSVhsv(51, 74%, 65%)
CMYKcmyk(0%, 10.8%, 74.1%, 34.9%)
CIE-LABlab(61.19, -5.03, 54.67)
CIE-LCHlch(61.19, 54.90, 95.25°)
OKLaboklab(66.37% -0.0195 0.1207)
OKLCHoklch(66.37% 0.122 99.2)
XYZxyz(26.7531, 29.4625, 6.5627)
Luminance0.2946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6942B #2B3DA6
analogous
#A6572B #A6942B #7AA62B
triadic
#A6942B #2BA694 #942BA6
tetradic
#A6942B #2BA657 #2B3DA6 #A62B7A
square
#A6942B #2BA657 #2B3DA6 #A62B7A
split-complementary
#A6942B #2B7AA6 #572BA6
monochromatic
#453D12 #75691E #A6942B #CEB941 #DACB71

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6942B#FFFFFF#000000##000000
##A6942B1.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)
#A39019
Deuteranopia (green-blind)
#A89632
Tritanopia (blue-blind)
#B3897F
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a6942b;
/* rgb */ color: rgb(166, 148, 43);
/* oklch */ color: oklch(66.4% 0.122 99.2);
Tailwind
colors: {
  custom: {
    50: '#c4b36c',
    500: '#a6942b',
    950: '#000000',
  },
}
SCSS
$custom: #a6942b;
$custom-light: #c4b36c;
$custom-dark: #000000;
JSON
{
  "hex": "#a6942b",
  "rgb": {
    "r": 166,
    "g": 148,
    "b": 43
  },
  "hsl": {
    "h": 51.22,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.66372,
    "c": 0.12228,
    "h": 99.2
  },
  "luminance": 0.29461
}

Semantic roles & 50–950 ramp

primary
#A6942B
secondary
#6B78C1
accent
#5DE246
background
#FCFAF6
surface
#F8F5EC
border
#D1CFC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A6942B

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

Preview Lab → · Contrast checker → · Palette generator →

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