#A6AC22#A6AC22

#A6AC22 is a light, vivid yellow. Relative luminance 0.377; OKLCH L 71.6% C 0.149 H 112.3°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#A6AC22
RGBrgb(166, 172, 34)
HSLhsl(63, 67%, 40%)
HSVhsv(63, 80%, 67%)
CMYKcmyk(3.5%, 0%, 80.2%, 32.5%)
CIE-LABlab(67.82, -17.98, 63.74)
CIE-LCHlch(67.82, 66.22, 105.75°)
OKLaboklab(71.64% -0.0566 0.1383)
OKLCHoklch(71.64% 0.149 112.3)
XYZxyz(30.7682, 37.7283, 7.1746)
Luminance0.3773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AC22 #2822AC
analogous
#AC6D22 #A6AC22 #61AC22
triadic
#A6AC22 #22A6AC #AC22A6
tetradic
#A6AC22 #22AC6D #2822AC #AC2261
square
#A6AC22 #22AC6D #2822AC #AC2261
split-complementary
#A6AC22 #2261AC #6D22AC
monochromatic
#43460E #757918 #A6AC22 #D0D734 #DCE167

Accessibility & contrast

On white

2.46
#A6AC22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#A6AC22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6AC22
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6AC22#FFFFFF#000000##000000
##A6AC221.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#BAA72F
Tritanopia (blue-blind)
#B2A193
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a6ac22;
/* rgb */ color: rgb(166, 172, 34);
/* oklch */ color: oklch(71.6% 0.149 112.3);
Tailwind
colors: {
  custom: {
    50: '#c4c46b',
    500: '#a6ac22',
    950: '#000000',
  },
}
SCSS
$custom: #a6ac22;
$custom-light: #c4c46b;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ac22",
  "rgb": {
    "r": 166,
    "g": 172,
    "b": 34
  },
  "hsl": {
    "h": 62.609,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.71643,
    "c": 0.14945,
    "h": 112.3
  },
  "luminance": 0.37728
}

Semantic roles & 50–950 ramp

primary
#A6AC22
secondary
#6763C7
accent
#3EEA45
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A6AC22

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

Preview Lab → · Contrast checker → · Palette generator →

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