#A6A131#A6A131

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

Color values

HEX#A6A131
RGBrgb(166, 161, 49)
HSLhsl(57, 54%, 42%)
HSVhsv(57, 70%, 65%)
CMYKcmyk(0%, 3%, 70.5%, 34.9%)
CIE-LABlab(64.82, -11.65, 55.91)
CIE-LCHlch(64.82, 57.11, 101.77°)
OKLaboklab(69.27% -0.0376 0.1245)
OKLCHoklch(69.27% 0.13 106.8)
XYZxyz(29.0262, 33.8195, 7.9040)
Luminance0.3382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A131 #3136A6
analogous
#A66731 #A6A131 #71A631
triadic
#A6A131 #31A6A1 #A131A6
tetradic
#A6A131 #31A667 #3136A6 #A63171
square
#A6A131 #31A667 #3136A6 #A63171
split-complementary
#A6A131 #3171A6 #6731A6
monochromatic
#474515 #777323 #A6A131 #CAC44A #D8D47A

Accessibility & contrast

On white

2.70
#A6A131 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6A131#FFFFFF#000000##000000
##A6A1311.002.707.767.76
#FFFFFF2.701.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1F
Deuteranopia (green-blind)
#B19F39
Tritanopia (blue-blind)
#B2968B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a6a131;
/* rgb */ color: rgb(166, 161, 49);
/* oklch */ color: oklch(69.3% 0.130 106.8);
Tailwind
colors: {
  custom: {
    50: '#c4bc70',
    500: '#a6a131',
    950: '#000000',
  },
}
SCSS
$custom: #a6a131;
$custom-light: #c4bc70;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a131",
  "rgb": {
    "r": 166,
    "g": 161,
    "b": 49
  },
  "hsl": {
    "h": 57.436,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.69271,
    "c": 0.13001,
    "h": 106.8
  },
  "luminance": 0.33818
}

Semantic roles & 50–950 ramp

primary
#A6A131
secondary
#7376C0
accent
#50DE4A
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A6A131

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

Preview Lab → · Contrast checker → · Palette generator →

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