#A6AE27#A6AE27

#A6AE27 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#A6AE27
RGBrgb(166, 174, 39)
HSLhsl(64, 63%, 42%)
HSVhsv(64, 78%, 68%)
CMYKcmyk(4.6%, 0%, 77.6%, 31.8%)
CIE-LABlab(68.41, -18.80, 62.79)
CIE-LCHlch(68.41, 65.54, 106.67°)
OKLaboklab(72.12% -0.0585 0.1372)
OKLCHoklch(72.12% 0.149 113.1)
XYZxyz(31.2292, 38.5263, 7.7103)
Luminance0.3853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AE27 #2F27AE
analogous
#AE7327 #A6AE27 #62AE27
triadic
#A6AE27 #27A6AE #AE27A6
tetradic
#A6AE27 #27AE73 #2F27AE #AE2762
square
#A6AE27 #27AE73 #2F27AE #AE2762
split-complementary
#A6AE27 #2762AE #7327AE
monochromatic
#474A11 #767C1C #A6AE27 #CBD43E #D8DF70

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6AE27#FFFFFF#000000##000000
##A6AE271.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)
#BBA500
Deuteranopia (green-blind)
#BBA833
Tritanopia (blue-blind)
#B2A395
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a6ae27;
/* rgb */ color: rgb(166, 174, 39);
/* oklch */ color: oklch(72.1% 0.149 113.1);
Tailwind
colors: {
  custom: {
    50: '#c4c66d',
    500: '#a6ae27',
    950: '#000000',
  },
}
SCSS
$custom: #a6ae27;
$custom-light: #c4c66d;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ae27",
  "rgb": {
    "r": 166,
    "g": 174,
    "b": 39
  },
  "hsl": {
    "h": 63.556,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.7212,
    "c": 0.14914,
    "h": 113.1
  },
  "luminance": 0.38526
}

Semantic roles & 50–950 ramp

primary
#A6AE27
secondary
#706BC6
accent
#41E64B
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A6AE27

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

Preview Lab → · Contrast checker → · Palette generator →

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