#A6A12F#A6A12F

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

Color values

HEX#A6A12F
RGBrgb(166, 161, 47)
HSLhsl(57, 56%, 42%)
HSVhsv(57, 72%, 65%)
CMYKcmyk(0%, 3%, 71.7%, 34.9%)
CIE-LABlab(64.81, -11.75, 56.66)
CIE-LCHlch(64.81, 57.87, 101.72°)
OKLaboklab(69.26% -0.0381 0.1257)
OKLCHoklch(69.26% 0.131 106.9)
XYZxyz(28.9850, 33.8030, 7.6866)
Luminance0.3380 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A12F #2F34A6
analogous
#A6662F #A6A12F #70A62F
triadic
#A6A12F #2FA6A1 #A12FA6
tetradic
#A6A12F #2FA666 #2F34A6 #A62F70
square
#A6A12F #2FA666 #2F34A6 #A62F70
split-complementary
#A6A12F #2F70A6 #662FA6
monochromatic
#474414 #767321 #A6A12F #CBC547 #D8D477

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6A12F#FFFFFF#000000##000000
##A6A12F1.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)
#AF9B1B
Deuteranopia (green-blind)
#B19F37
Tritanopia (blue-blind)
#B2968B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a6a12f;
/* rgb */ color: rgb(166, 161, 47);
/* oklch */ color: oklch(69.3% 0.131 106.9);
Tailwind
colors: {
  custom: {
    50: '#c4bc6f',
    500: '#a6a12f',
    950: '#000000',
  },
}
SCSS
$custom: #a6a12f;
$custom-light: #c4bc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a12f",
  "rgb": {
    "r": 166,
    "g": 161,
    "b": 47
  },
  "hsl": {
    "h": 57.479,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.69257,
    "c": 0.13132,
    "h": 106.9
  },
  "luminance": 0.33802
}

Semantic roles & 50–950 ramp

primary
#A6A12F
secondary
#7074C1
accent
#4FDF49
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A6A12F

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

Preview Lab → · Contrast checker → · Palette generator →

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