#A6B322#A6B322

#A6B322 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.2% C 0.157 H 115.0°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#A6B322
RGBrgb(166, 179, 34)
HSLhsl(65, 68%, 42%)
HSVhsv(65, 81%, 70%)
CMYKcmyk(7.3%, 0%, 81%, 29.8%)
CIE-LABlab(69.80, -21.49, 65.47)
CIE-LCHlch(69.80, 68.91, 108.17°)
OKLaboklab(73.23% -0.0663 0.1421)
OKLCHoklch(73.23% 0.157 115)
XYZxyz(32.1357, 40.4633, 7.6304)
Luminance0.4046 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B322 #2F22B3
analogous
#B37822 #A6B322 #5EB322
triadic
#A6B322 #22A6B3 #B322A6
tetradic
#A6B322 #22B378 #2F22B3 #B3225E
square
#A6B322 #22B378 #2F22B3 #B3225E
split-complementary
#A6B322 #225EB3 #7822B3
monochromatic
#474C0E #768018 #A6B322 #CBD939 #D8E36C

Accessibility & contrast

On white

2.31
#A6B322 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#A6B322 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B322
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B322#FFFFFF#000000##000000
##A6B3221.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA00
Deuteranopia (green-blind)
#C0AC31
Tritanopia (blue-blind)
#B1A899
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a6b322;
/* rgb */ color: rgb(166, 179, 34);
/* oklch */ color: oklch(73.2% 0.157 115.0);
Tailwind
colors: {
  custom: {
    50: '#c4c96c',
    500: '#a6b322',
    950: '#000000',
  },
}
SCSS
$custom: #a6b322;
$custom-light: #c4c96c;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b322",
  "rgb": {
    "r": 166,
    "g": 179,
    "b": 34
  },
  "hsl": {
    "h": 65.379,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.73229,
    "c": 0.15676,
    "h": 115
  },
  "luminance": 0.40463
}

Semantic roles & 50–950 ramp

primary
#A6B322
secondary
#7068C9
accent
#3DEB4C
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A6B322

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

Preview Lab → · Contrast checker → · Palette generator →

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