#A6AD20#A6AD20

#A6AD20 is a light, vivid yellow. Relative luminance 0.381; OKLCH L 71.9% C 0.151 H 112.7°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#A6AD20
RGBrgb(166, 173, 32)
HSLhsl(63, 69%, 40%)
HSVhsv(63, 82%, 68%)
CMYKcmyk(4%, 0%, 81.5%, 32.2%)
CIE-LABlab(68.09, -18.55, 64.52)
CIE-LCHlch(68.09, 67.14, 106.04°)
OKLaboklab(71.86% -0.0583 0.1397)
OKLCHoklch(71.86% 0.151 112.7)
XYZxyz(30.9312, 38.0992, 7.0907)
Luminance0.3810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AD20 #2720AD
analogous
#AD6E20 #A6AD20 #5FAD20
triadic
#A6AD20 #20A6AD #AD20A6
tetradic
#A6AD20 #20AD6E #2720AD #AD205F
square
#A6AD20 #20AD6E #2720AD #AD205F
split-complementary
#A6AD20 #205FAD #6E20AD
monochromatic
#43460D #747916 #A6AD20 #D1D931 #DCE265

Accessibility & contrast

On white

2.44
#A6AD20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#A6AD20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6AD20
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6AD20#FFFFFF#000000##000000
##A6AD201.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA400
Deuteranopia (green-blind)
#BBA72E
Tritanopia (blue-blind)
#B2A294
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a6ad20;
/* rgb */ color: rgb(166, 173, 32);
/* oklch */ color: oklch(71.9% 0.151 112.7);
Tailwind
colors: {
  custom: {
    50: '#c4c56a',
    500: '#a6ad20',
    950: '#000000',
  },
}
SCSS
$custom: #a6ad20;
$custom-light: #c4c56a;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ad20",
  "rgb": {
    "r": 166,
    "g": 173,
    "b": 32
  },
  "hsl": {
    "h": 62.979,
    "s": 68.78,
    "l": 40.196
  },
  "oklch": {
    "l": 0.7186,
    "c": 0.15135,
    "h": 112.7
  },
  "luminance": 0.38098
}

Semantic roles & 50–950 ramp

primary
#A6AD20
secondary
#6661C8
accent
#3CEC45
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A6AD20

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

Preview Lab → · Contrast checker → · Palette generator →

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