#A6A01D#A6A01D

#A6A01D is a light, vivid yellow. Relative luminance 0.333; OKLCH L 68.9% C 0.140 H 106.7°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#A6A01D
RGBrgb(166, 160, 29)
HSLhsl(57, 70%, 38%)
HSVhsv(57, 83%, 65%)
CMYKcmyk(0%, 3.6%, 82.5%, 34.9%)
CIE-LABlab(64.43, -11.96, 62.17)
CIE-LCHlch(64.43, 63.31, 100.89°)
OKLaboklab(68.93% -0.0402 0.134)
OKLCHoklch(68.93% 0.14 106.7)
XYZxyz(28.5197, 33.3384, 6.0948)
Luminance0.3334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A01D #1D23A6
analogous
#A65B1D #A6A01D #67A61D
triadic
#A6A01D #1DA6A0 #A01DA6
tetradic
#A6A01D #1DA65B #1D23A6 #A61D67
square
#A6A01D #1DA65B #1D23A6 #A61D67
split-complementary
#A6A01D #1D67A6 #5B1DA6
monochromatic
#3E3C0B #726E14 #A6A01D #D9D127 #E2DC5B

Accessibility & contrast

On white

2.74
#A6A01D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#A6A01D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A01D
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A01D#FFFFFF#000000##000000
##A6A01D1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A00
Deuteranopia (green-blind)
#B19E29
Tritanopia (blue-blind)
#B39589
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a6a01d;
/* rgb */ color: rgb(166, 160, 29);
/* oklch */ color: oklch(68.9% 0.140 106.7);
Tailwind
colors: {
  custom: {
    50: '#c4bb67',
    500: '#a6a01d',
    950: '#000000',
  },
}
SCSS
$custom: #a6a01d;
$custom-light: #c4bb67;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a01d",
  "rgb": {
    "r": 166,
    "g": 160,
    "b": 29
  },
  "hsl": {
    "h": 57.372,
    "s": 70.256,
    "l": 38.235
  },
  "oklch": {
    "l": 0.68931,
    "c": 0.13995,
    "h": 106.7
  },
  "luminance": 0.33337
}

Semantic roles & 50–950 ramp

primary
#A6A01D
secondary
#595DC6
accent
#43ED3B
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #A6A01D

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

Preview Lab → · Contrast checker → · Palette generator →

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