#A6AB29#A6AB29

#A6AB29 is a light, vivid yellow. Relative luminance 0.374; OKLCH L 71.5% C 0.145 H 111.8°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#A6AB29
RGBrgb(166, 171, 41)
HSLhsl(62, 61%, 42%)
HSVhsv(62, 76%, 67%)
CMYKcmyk(2.9%, 0%, 76%, 32.9%)
CIE-LABlab(67.57, -17.20, 61.39)
CIE-LCHlch(67.57, 63.75, 105.65°)
OKLaboklab(71.46% -0.0539 0.1346)
OKLCHoklch(71.46% 0.145 111.8)
XYZxyz(30.6901, 37.3937, 7.6984)
Luminance0.3739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AB29 #2E29AB
analogous
#AB6F29 #A6AB29 #65AB29
triadic
#A6AB29 #29A6AB #AB29A6
tetradic
#A6AB29 #29AB6F #2E29AB #AB2965
square
#A6AB29 #29AB6F #2E29AB #AB2965
split-complementary
#A6AB29 #2965AB #6F29AB
monochromatic
#464811 #767A1D #A6AB29 #CCD140 #D9DD71

Accessibility & contrast

On white

2.48
#A6AB29 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#A6AB29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6AB29
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6AB29#FFFFFF#000000##000000
##A6AB291.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A307
Deuteranopia (green-blind)
#B9A634
Tritanopia (blue-blind)
#B2A093
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a6ab29;
/* rgb */ color: rgb(166, 171, 41);
/* oklch */ color: oklch(71.5% 0.145 111.8);
Tailwind
colors: {
  custom: {
    50: '#c4c36e',
    500: '#a6ab29',
    950: '#000000',
  },
}
SCSS
$custom: #a6ab29;
$custom-light: #c4c36e;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ab29",
  "rgb": {
    "r": 166,
    "g": 171,
    "b": 41
  },
  "hsl": {
    "h": 62.308,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.71455,
    "c": 0.14497,
    "h": 111.8
  },
  "luminance": 0.37393
}

Semantic roles & 50–950 ramp

primary
#A6AB29
secondary
#6F6CC4
accent
#43E44A
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A6AB29

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

Preview Lab → · Contrast checker → · Palette generator →

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