#A6A12E#A6A12E

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

Color values

HEX#A6A12E
RGBrgb(166, 161, 46)
HSLhsl(58, 57%, 42%)
HSVhsv(58, 72%, 65%)
CMYKcmyk(0%, 3%, 72.3%, 34.9%)
CIE-LABlab(64.80, -11.80, 57.03)
CIE-LCHlch(64.80, 58.24, 101.69°)
OKLaboklab(69.25% -0.0383 0.1263)
OKLCHoklch(69.25% 0.132 106.9)
XYZxyz(28.9650, 33.7950, 7.5816)
Luminance0.3379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A12E #2E33A6
analogous
#A6652E #A6A12E #6FA62E
triadic
#A6A12E #2EA6A1 #A12EA6
tetradic
#A6A12E #2EA665 #2E33A6 #A62E6F
square
#A6A12E #2EA665 #2E33A6 #A62E6F
split-complementary
#A6A12E #2E6FA6 #652EA6
monochromatic
#464413 #767321 #A6A12E #CCC646 #D9D576

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6A12E#FFFFFF#000000##000000
##A6A12E1.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)
#AF9B1A
Deuteranopia (green-blind)
#B19F36
Tritanopia (blue-blind)
#B2968B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a6a12e;
/* rgb */ color: rgb(166, 161, 46);
/* oklch */ color: oklch(69.3% 0.132 106.9);
Tailwind
colors: {
  custom: {
    50: '#c4bc6f',
    500: '#a6a12e',
    950: '#000000',
  },
}
SCSS
$custom: #a6a12e;
$custom-light: #c4bc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a12e",
  "rgb": {
    "r": 166,
    "g": 161,
    "b": 46
  },
  "hsl": {
    "h": 57.5,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.6925,
    "c": 0.13196,
    "h": 106.9
  },
  "luminance": 0.33794
}

Semantic roles & 50–950 ramp

primary
#A6A12E
secondary
#6F72C1
accent
#4EE048
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A6A12E

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

Preview Lab → · Contrast checker → · Palette generator →

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