#A6AE23#A6AE23

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

Color values

HEX#A6AE23
RGBrgb(166, 174, 35)
HSLhsl(63, 67%, 41%)
HSVhsv(63, 80%, 68%)
CMYKcmyk(4.6%, 0%, 79.9%, 31.8%)
CIE-LABlab(68.39, -18.95, 63.95)
CIE-LCHlch(68.39, 66.70, 106.51°)
OKLaboklab(72.1% -0.0592 0.139)
OKLCHoklch(72.1% 0.151 113.1)
XYZxyz(31.1663, 38.5012, 7.3795)
Luminance0.3850 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AE23 #2B23AE
analogous
#AE7023 #A6AE23 #60AE23
triadic
#A6AE23 #23A6AE #AE23A6
tetradic
#A6AE23 #23AE70 #2B23AE #AE2360
square
#A6AE23 #23AE70 #2B23AE #AE2360
split-complementary
#A6AE23 #2360AE #7023AE
monochromatic
#45480F #757B19 #A6AE23 #CED737 #DAE16A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6AE23#FFFFFF#000000##000000
##A6AE231.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)
#BCA830
Tritanopia (blue-blind)
#B2A395
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a6ae23;
/* rgb */ color: rgb(166, 174, 35);
/* oklch */ color: oklch(72.1% 0.151 113.1);
Tailwind
colors: {
  custom: {
    50: '#c4c56b',
    500: '#a6ae23',
    950: '#000000',
  },
}
SCSS
$custom: #a6ae23;
$custom-light: #c4c56b;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ae23",
  "rgb": {
    "r": 166,
    "g": 174,
    "b": 35
  },
  "hsl": {
    "h": 63.453,
    "s": 66.507,
    "l": 40.98
  },
  "oklch": {
    "l": 0.721,
    "c": 0.15106,
    "h": 113.1
  },
  "luminance": 0.385
}

Semantic roles & 50–950 ramp

primary
#A6AE23
secondary
#6B66C7
accent
#3EE948
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A6AE23

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

Preview Lab → · Contrast checker → · Palette generator →

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