#A6A031#A6A031

#A6A031 is a light, vivid yellow. Relative luminance 0.335; OKLCH L 69.0% C 0.129 H 106.3°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#A6A031
RGBrgb(166, 160, 49)
HSLhsl(57, 54%, 42%)
HSVhsv(57, 70%, 65%)
CMYKcmyk(0%, 3.6%, 70.5%, 34.9%)
CIE-LABlab(64.54, -11.12, 55.64)
CIE-LCHlch(64.54, 56.74, 101.31°)
OKLaboklab(69.05% -0.0361 0.1239)
OKLCHoklch(69.05% 0.129 106.3)
XYZxyz(28.8522, 33.4714, 7.8460)
Luminance0.3347 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A031 #3137A6
analogous
#A66631 #A6A031 #72A631
triadic
#A6A031 #31A6A0 #A031A6
tetradic
#A6A031 #31A666 #3137A6 #A63172
square
#A6A031 #31A666 #3137A6 #A63172
split-complementary
#A6A031 #3172A6 #6631A6
monochromatic
#474515 #777223 #A6A031 #CAC34A #D8D37A

Accessibility & contrast

On white

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

On black

7.69
#A6A031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A031
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A031#FFFFFF#000000##000000
##A6A0311.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a6a031;
/* rgb */ color: rgb(166, 160, 49);
/* oklch */ color: oklch(69.0% 0.129 106.3);
Tailwind
colors: {
  custom: {
    50: '#c4bb70',
    500: '#a6a031',
    950: '#000000',
  },
}
SCSS
$custom: #a6a031;
$custom-light: #c4bb70;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a031",
  "rgb": {
    "r": 166,
    "g": 160,
    "b": 49
  },
  "hsl": {
    "h": 56.923,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.6905,
    "c": 0.12904,
    "h": 106.3
  },
  "luminance": 0.3347
}

Semantic roles & 50–950 ramp

primary
#A6A031
secondary
#7377C0
accent
#52DE4A
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #A6A031

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

Preview Lab → · Contrast checker → · Palette generator →

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