#A6A51D#A6A51D

#A6A51D is a light, vivid yellow. Relative luminance 0.351; OKLCH L 70.0% C 0.145 H 109.2°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#A6A51D
RGBrgb(166, 165, 29)
HSLhsl(60, 70%, 38%)
HSVhsv(60, 83%, 65%)
CMYKcmyk(0%, 0.6%, 82.5%, 34.9%)
CIE-LABlab(65.83, -14.56, 63.37)
CIE-LCHlch(65.83, 65.02, 102.94°)
OKLaboklab(70.05% -0.0475 0.1366)
OKLCHoklch(70.05% 0.145 109.2)
XYZxyz(29.4040, 35.1069, 6.3896)
Luminance0.3511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A51D #1D1EA6
analogous
#A6601D #A6A51D #62A61D
triadic
#A6A51D #1DA6A5 #A51DA6
tetradic
#A6A51D #1DA660 #1D1EA6 #A61D62
square
#A6A51D #1DA660 #1D1EA6 #A61D62
split-complementary
#A6A51D #1D62A6 #601DA6
monochromatic
#3E3D0B #727114 #A6A51D #D9D827 #E2E15B

Accessibility & contrast

On white

2.62
#A6A51D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#A6A51D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A51D
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A51D#FFFFFF#000000##000000
##A6A51D1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#B5A22A
Tritanopia (blue-blind)
#B29A8D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a6a51d;
/* rgb */ color: rgb(166, 165, 29);
/* oklch */ color: oklch(70.0% 0.145 109.2);
Tailwind
colors: {
  custom: {
    50: '#c4bf68',
    500: '#a6a51d',
    950: '#000000',
  },
}
SCSS
$custom: #a6a51d;
$custom-light: #c4bf68;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a51d",
  "rgb": {
    "r": 166,
    "g": 165,
    "b": 29
  },
  "hsl": {
    "h": 59.562,
    "s": 70.256,
    "l": 38.235
  },
  "oklch": {
    "l": 0.70046,
    "c": 0.14464,
    "h": 109.2
  },
  "luminance": 0.35106
}

Semantic roles & 50–950 ramp

primary
#A6A51D
secondary
#5959C6
accent
#3CED3B
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #A6A51D

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

Preview Lab → · Contrast checker → · Palette generator →

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