#A6A12D#A6A12D

#A6A12D is a light, vivid yellow. Relative luminance 0.338; OKLCH L 69.2% C 0.133 H 106.9°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#A6A12D
RGBrgb(166, 161, 45)
HSLhsl(58, 57%, 41%)
HSVhsv(58, 73%, 65%)
CMYKcmyk(0%, 3%, 72.9%, 34.9%)
CIE-LABlab(64.79, -11.85, 57.39)
CIE-LCHlch(64.79, 58.60, 101.67°)
OKLaboklab(69.24% -0.0385 0.1269)
OKLCHoklch(69.24% 0.133 106.9)
XYZxyz(28.9455, 33.7872, 7.4790)
Luminance0.3379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A12D #2D32A6
analogous
#A6652D #A6A12D #6FA62D
triadic
#A6A12D #2DA6A1 #A12DA6
tetradic
#A6A12D #2DA665 #2D32A6 #A62D6F
square
#A6A12D #2DA665 #2D32A6 #A62D6F
split-complementary
#A6A12D #2D6FA6 #652DA6
monochromatic
#464413 #767220 #A6A12D #CCC744 #D9D574

Accessibility & contrast

On white

2.71
#A6A12D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#A6A12D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A12D
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A12D#FFFFFF#000000##000000
##A6A12D1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B18
Deuteranopia (green-blind)
#B19F35
Tritanopia (blue-blind)
#B2968B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a6a12d;
/* rgb */ color: rgb(166, 161, 45);
/* oklch */ color: oklch(69.2% 0.133 106.9);
Tailwind
colors: {
  custom: {
    50: '#c4bc6e',
    500: '#a6a12d',
    950: '#000000',
  },
}
SCSS
$custom: #a6a12d;
$custom-light: #c4bc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a12d",
  "rgb": {
    "r": 166,
    "g": 161,
    "b": 45
  },
  "hsl": {
    "h": 57.521,
    "s": 57.346,
    "l": 41.373
  },
  "oklch": {
    "l": 0.69243,
    "c": 0.13258,
    "h": 106.9
  },
  "luminance": 0.33786
}

Semantic roles & 50–950 ramp

primary
#A6A12D
secondary
#6E71C1
accent
#4EE147
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A6A12D

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

Preview Lab → · Contrast checker → · Palette generator →

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