#A6A032#A6A032

#A6A032 is a light, vivid yellow. Relative luminance 0.335; OKLCH L 69.1% C 0.128 H 106.2°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#A6A032
RGBrgb(166, 160, 50)
HSLhsl(57, 54%, 42%)
HSVhsv(57, 70%, 65%)
CMYKcmyk(0%, 3.6%, 69.9%, 34.9%)
CIE-LABlab(64.55, -11.07, 55.25)
CIE-LCHlch(64.55, 56.35, 101.33°)
OKLaboklab(69.06% -0.0358 0.1232)
OKLCHoklch(69.06% 0.128 106.2)
XYZxyz(28.8735, 33.4799, 7.9583)
Luminance0.3348 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A032 #3238A6
analogous
#A66632 #A6A032 #72A632
triadic
#A6A032 #32A6A0 #A032A6
tetradic
#A6A032 #32A666 #3238A6 #A63272
square
#A6A032 #32A666 #3238A6 #A63272
split-complementary
#A6A032 #3272A6 #6632A6
monochromatic
#484516 #777324 #A6A032 #C9C34C #D7D37B

Accessibility & contrast

On white

2.73
#A6A032 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#A6A032 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A032
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A032#FFFFFF#000000##000000
##A6A0321.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A21
Deuteranopia (green-blind)
#B09F39
Tritanopia (blue-blind)
#B2958A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a6a032;
/* rgb */ color: rgb(166, 160, 50);
/* oklch */ color: oklch(69.1% 0.128 106.2);
Tailwind
colors: {
  custom: {
    50: '#c4bb71',
    500: '#a6a032',
    950: '#000000',
  },
}
SCSS
$custom: #a6a032;
$custom-light: #c4bb71;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a032",
  "rgb": {
    "r": 166,
    "g": 160,
    "b": 50
  },
  "hsl": {
    "h": 56.897,
    "s": 53.704,
    "l": 42.353
  },
  "oklch": {
    "l": 0.69057,
    "c": 0.12835,
    "h": 106.2
  },
  "luminance": 0.33479
}

Semantic roles & 50–950 ramp

primary
#A6A032
secondary
#7478C0
accent
#52DD4B
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #A6A032

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

Preview Lab → · Contrast checker → · Palette generator →

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