#A6A12C#A6A12C

#A6A12C 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#A6A12C
RGBrgb(166, 161, 44)
HSLhsl(58, 58%, 41%)
HSVhsv(58, 73%, 65%)
CMYKcmyk(0%, 3%, 73.5%, 34.9%)
CIE-LABlab(64.79, -11.90, 57.75)
CIE-LCHlch(64.79, 58.96, 101.64°)
OKLaboklab(69.24% -0.0388 0.1274)
OKLCHoklch(69.24% 0.133 106.9)
XYZxyz(28.9265, 33.7796, 7.3788)
Luminance0.3378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A12C #2C31A6
analogous
#A6642C #A6A12C #6EA62C
triadic
#A6A12C #2CA6A1 #A12CA6
tetradic
#A6A12C #2CA664 #2C31A6 #A62C6E
square
#A6A12C #2CA664 #2C31A6 #A62C6E
split-complementary
#A6A12C #2C6EA6 #642CA6
monochromatic
#454312 #76721F #A6A12C #CDC742 #DAD673

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6A12C#FFFFFF#000000##000000
##A6A12C1.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)
#AF9B16
Deuteranopia (green-blind)
#B19F35
Tritanopia (blue-blind)
#B2968A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a6a12c;
/* rgb */ color: rgb(166, 161, 44);
/* oklch */ color: oklch(69.2% 0.133 106.9);
Tailwind
colors: {
  custom: {
    50: '#c4bc6e',
    500: '#a6a12c',
    950: '#000000',
  },
}
SCSS
$custom: #a6a12c;
$custom-light: #c4bc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a12c",
  "rgb": {
    "r": 166,
    "g": 161,
    "b": 44
  },
  "hsl": {
    "h": 57.541,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.69236,
    "c": 0.13319,
    "h": 106.9
  },
  "luminance": 0.33779
}

Semantic roles & 50–950 ramp

primary
#A6A12C
secondary
#6D70C1
accent
#4DE146
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A6A12C

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

Preview Lab → · Contrast checker → · Palette generator →

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