#A6AE28#A6AE28

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

Color values

HEX#A6AE28
RGBrgb(166, 174, 40)
HSLhsl(64, 63%, 42%)
HSVhsv(64, 77%, 68%)
CMYKcmyk(4.6%, 0%, 77%, 31.8%)
CIE-LABlab(68.41, -18.76, 62.48)
CIE-LCHlch(68.41, 65.23, 106.71°)
OKLaboklab(72.13% -0.0583 0.1367)
OKLCHoklch(72.13% 0.149 113.1)
XYZxyz(31.2459, 38.5330, 7.7987)
Luminance0.3853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AE28 #3028AE
analogous
#AE7328 #A6AE28 #63AE28
triadic
#A6AE28 #28A6AE #AE28A6
tetradic
#A6AE28 #28AE73 #3028AE #AE2863
square
#A6AE28 #28AE73 #3028AE #AE2863
split-complementary
#A6AE28 #2863AE #7328AE
monochromatic
#474A11 #777C1D #A6AE28 #CAD340 #D8DF72

Accessibility & contrast

On white

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

On black

8.71
#A6AE28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6AE28
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6AE28#FFFFFF#000000##000000
##A6AE281.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a6ae28;
/* rgb */ color: rgb(166, 174, 40);
/* oklch */ color: oklch(72.1% 0.149 113.1);
Tailwind
colors: {
  custom: {
    50: '#c4c66e',
    500: '#a6ae28',
    950: '#000000',
  },
}
SCSS
$custom: #a6ae28;
$custom-light: #c4c66e;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ae28",
  "rgb": {
    "r": 166,
    "g": 174,
    "b": 40
  },
  "hsl": {
    "h": 63.582,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.72126,
    "c": 0.14863,
    "h": 113.1
  },
  "luminance": 0.38532
}

Semantic roles & 50–950 ramp

primary
#A6AE28
secondary
#716CC6
accent
#42E64C
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A6AE28

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

Preview Lab → · Contrast checker → · Palette generator →

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