#A6AE20#A6AE20

#A6AE20 is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.1% C 0.152 H 113.1°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#A6AE20
RGBrgb(166, 174, 32)
HSLhsl(63, 69%, 40%)
HSVhsv(63, 82%, 68%)
CMYKcmyk(4.6%, 0%, 81.6%, 31.8%)
CIE-LABlab(68.38, -19.06, 64.77)
CIE-LCHlch(68.38, 67.51, 106.40°)
OKLaboklab(72.09% -0.0597 0.1402)
OKLCHoklch(72.09% 0.152 113.1)
XYZxyz(31.1237, 38.4841, 7.1549)
Luminance0.3848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AE20 #2820AE
analogous
#AE6F20 #A6AE20 #5FAE20
triadic
#A6AE20 #20A6AE #AE20A6
tetradic
#A6AE20 #20AE6F #2820AE #AE205F
square
#A6AE20 #20AE6F #2820AE #AE205F
split-complementary
#A6AE20 #205FAE #6F20AE
monochromatic
#43470D #757A16 #A6AE20 #D0D932 #DCE366

Accessibility & contrast

On white

2.41
#A6AE20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#A6AE20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6AE20
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6AE20#FFFFFF#000000##000000
##A6AE201.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA500
Deuteranopia (green-blind)
#BCA82E
Tritanopia (blue-blind)
#B2A395
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a6ae20;
/* rgb */ color: rgb(166, 174, 32);
/* oklch */ color: oklch(72.1% 0.152 113.1);
Tailwind
colors: {
  custom: {
    50: '#c4c56a',
    500: '#a6ae20',
    950: '#000000',
  },
}
SCSS
$custom: #a6ae20;
$custom-light: #c4c56a;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ae20",
  "rgb": {
    "r": 166,
    "g": 174,
    "b": 32
  },
  "hsl": {
    "h": 63.38,
    "s": 68.932,
    "l": 40.392
  },
  "oklch": {
    "l": 0.72086,
    "c": 0.15238,
    "h": 113.1
  },
  "luminance": 0.38483
}

Semantic roles & 50–950 ramp

primary
#A6AE20
secondary
#6762C8
accent
#3CEC46
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A6AE20

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

Preview Lab → · Contrast checker → · Palette generator →

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