#A6A624#A6A624

#A6A624 is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.3% C 0.142 H 109.6°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#A6A624
RGBrgb(166, 166, 36)
HSLhsl(60, 64%, 40%)
HSVhsv(60, 78%, 65%)
CMYKcmyk(0%, 0%, 78.3%, 34.9%)
CIE-LABlab(66.14, -14.84, 61.66)
CIE-LCHlch(66.14, 63.42, 103.53°)
OKLaboklab(70.3% -0.0477 0.1343)
OKLCHoklch(70.3% 0.142 109.6)
XYZxyz(29.6817, 35.5077, 6.9589)
Luminance0.3551 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A624 #2424A6
analogous
#A66524 #A6A624 #65A624
triadic
#A6A624 #24A6A6 #A624A6
tetradic
#A6A624 #24A665 #2424A6 #A62465
square
#A6A624 #24A665 #2424A6 #A62465
split-complementary
#A6A624 #2465A6 #6524A6
monochromatic
#41410E #747419 #A6A624 #D3D334 #DEDE66

Accessibility & contrast

On white

2.59
#A6A624 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#A6A624 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A624
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A624#FFFFFF#000000##000000
##A6A6241.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#B5A32F
Tritanopia (blue-blind)
#B29B8E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a6a624;
/* rgb */ color: rgb(166, 166, 36);
/* oklch */ color: oklch(70.3% 0.142 109.6);
Tailwind
colors: {
  custom: {
    50: '#c4c06b',
    500: '#a6a624',
    950: '#000000',
  },
}
SCSS
$custom: #a6a624;
$custom-light: #c4c06b;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a624",
  "rgb": {
    "r": 166,
    "g": 166,
    "b": 36
  },
  "hsl": {
    "h": 60,
    "s": 64.356,
    "l": 39.608
  },
  "oklch": {
    "l": 0.70304,
    "c": 0.14248,
    "h": 109.6
  },
  "luminance": 0.35507
}

Semantic roles & 50–950 ramp

primary
#A6A624
secondary
#6262C4
accent
#40E740
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A6A624

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

Preview Lab → · Contrast checker → · Palette generator →

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