#A6A324#A6A324

#A6A324 is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.6% C 0.140 H 108.1°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#A6A324
RGBrgb(166, 163, 36)
HSLhsl(59, 64%, 40%)
HSVhsv(59, 78%, 65%)
CMYKcmyk(0%, 1.8%, 78.3%, 34.9%)
CIE-LABlab(65.30, -13.28, 60.91)
CIE-LCHlch(65.30, 62.34, 102.30°)
OKLaboklab(69.63% -0.0434 0.1326)
OKLCHoklch(69.63% 0.14 108.1)
XYZxyz(29.1427, 34.4297, 6.7792)
Luminance0.3443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A324 #2427A6
analogous
#A66224 #A6A324 #68A624
triadic
#A6A324 #24A6A3 #A324A6
tetradic
#A6A324 #24A662 #2427A6 #A62468
square
#A6A324 #24A662 #2427A6 #A62468
split-complementary
#A6A324 #2468A6 #6224A6
monochromatic
#41400E #747219 #A6A324 #D3CF34 #DEDB66

Accessibility & contrast

On white

2.66
#A6A324 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#A6A324 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A324
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A324#FFFFFF#000000##000000
##A6A3241.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#B3A02F
Tritanopia (blue-blind)
#B2988C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a6a324;
/* rgb */ color: rgb(166, 163, 36);
/* oklch */ color: oklch(69.6% 0.140 108.1);
Tailwind
colors: {
  custom: {
    50: '#c4be6a',
    500: '#a6a324',
    950: '#000000',
  },
}
SCSS
$custom: #a6a324;
$custom-light: #c4be6a;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a324",
  "rgb": {
    "r": 166,
    "g": 163,
    "b": 36
  },
  "hsl": {
    "h": 58.615,
    "s": 64.356,
    "l": 39.608
  },
  "oklch": {
    "l": 0.69633,
    "c": 0.13954,
    "h": 108.1
  },
  "luminance": 0.34429
}

Semantic roles & 50–950 ramp

primary
#A6A324
secondary
#6264C4
accent
#44E740
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A6A324

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

Preview Lab → · Contrast checker → · Palette generator →

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