#A6AF29#A6AF29

#A6AF29 is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.4% C 0.149 H 113.5°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#A6AF29
RGBrgb(166, 175, 41)
HSLhsl(64, 62%, 42%)
HSVhsv(64, 77%, 69%)
CMYKcmyk(5.1%, 0%, 76.6%, 31.4%)
CIE-LABlab(68.70, -19.22, 62.43)
CIE-LCHlch(68.70, 65.32, 107.12°)
OKLaboklab(72.36% -0.0595 0.1368)
OKLCHoklch(72.36% 0.149 113.5)
XYZxyz(31.4571, 38.9277, 7.9541)
Luminance0.3893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AF29 #3229AF
analogous
#AF7529 #A6AF29 #63AF29
triadic
#A6AF29 #29A6AF #AF29A6
tetradic
#A6AF29 #29AF75 #3229AF #AF2963
square
#A6AF29 #29AF75 #3229AF #AF2963
split-complementary
#A6AF29 #2963AF #7529AF
monochromatic
#484C12 #777D1D #A6AF29 #C9D342 #D7DE74

Accessibility & contrast

On white

2.39
#A6AF29 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#A6AF29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6AF29
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6AF29#FFFFFF#000000##000000
##A6AF291.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA604
Deuteranopia (green-blind)
#BCA935
Tritanopia (blue-blind)
#B1A496
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a6af29;
/* rgb */ color: rgb(166, 175, 41);
/* oklch */ color: oklch(72.4% 0.149 113.5);
Tailwind
colors: {
  custom: {
    50: '#c4c66e',
    500: '#a6af29',
    950: '#000000',
  },
}
SCSS
$custom: #a6af29;
$custom-light: #c4c66e;
$custom-dark: #000000;
JSON
{
  "hex": "#a6af29",
  "rgb": {
    "r": 166,
    "g": 175,
    "b": 41
  },
  "hsl": {
    "h": 64.03,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.72358,
    "c": 0.14916,
    "h": 113.5
  },
  "luminance": 0.38927
}

Semantic roles & 50–950 ramp

primary
#A6AF29
secondary
#746EC6
accent
#43E54E
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6AF29

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

Preview Lab → · Contrast checker → · Palette generator →

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