#A6A91C#A6A91C

#A6A91C is a light, vivid yellow. Relative luminance 0.366; OKLCH L 70.9% C 0.149 H 111.0°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#A6A91C
RGBrgb(166, 169, 28)
HSLhsl(61, 72%, 39%)
HSVhsv(61, 83%, 66%)
CMYKcmyk(1.8%, 0%, 83.4%, 33.7%)
CIE-LABlab(66.95, -16.65, 64.58)
CIE-LCHlch(66.95, 66.69, 104.45°)
OKLaboklab(70.94% -0.0533 0.1391)
OKLCHoklch(70.94% 0.149 111)
XYZxyz(30.1246, 36.5676, 6.5698)
Luminance0.3657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A91C #1F1CA9
analogous
#A9651C #A6A91C #5FA91C
triadic
#A6A91C #1CA6A9 #A91CA6
tetradic
#A6A91C #1CA965 #1F1CA9 #A91C5F
square
#A6A91C #1CA965 #1F1CA9 #A91C5F
split-complementary
#A6A91C #1C5FA9 #651CA9
monochromatic
#3F400B #727413 #A6A91C #D7DB27 #E1E45B

Accessibility & contrast

On white

2.53
#A6A91C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#A6A91C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A91C
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A91C#FFFFFF#000000##000000
##A6A91C1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#B8A52B
Tritanopia (blue-blind)
#B29E90
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a6a91c;
/* rgb */ color: rgb(166, 169, 28);
/* oklch */ color: oklch(70.9% 0.149 111.0);
Tailwind
colors: {
  custom: {
    50: '#c4c268',
    500: '#a6a91c',
    950: '#000000',
  },
}
SCSS
$custom: #a6a91c;
$custom-light: #c4c268;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a91c",
  "rgb": {
    "r": 166,
    "g": 169,
    "b": 28
  },
  "hsl": {
    "h": 61.277,
    "s": 71.574,
    "l": 38.627
  },
  "oklch": {
    "l": 0.7094,
    "c": 0.14894,
    "h": 111
  },
  "luminance": 0.36567
}

Semantic roles & 50–950 ramp

primary
#A6A91C
secondary
#5B59C8
accent
#39EE3D
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #A6A91C

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

Preview Lab → · Contrast checker → · Palette generator →

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