#A6AE52#A6AE52

#A6AE52 is a light, moderate yellow. Relative luminance 0.390; OKLCH L 72.5% C 0.117 H 113.4°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#A6AE52
RGBrgb(166, 174, 82)
HSLhsl(65, 36%, 50%)
HSVhsv(65, 53%, 68%)
CMYKcmyk(4.6%, 0%, 52.9%, 31.8%)
CIE-LABlab(68.74, -16.05, 45.65)
CIE-LCHlch(68.74, 48.38, 109.37°)
OKLaboklab(72.5% -0.0464 0.1072)
OKLCHoklch(72.5% 0.117 113.4)
XYZxyz(32.3855, 38.9888, 13.8006)
Luminance0.3899 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AE52 #5A52AE
analogous
#AE8852 #A6AE52 #78AE52
triadic
#A6AE52 #52A6AE #AE52A6
tetradic
#A6AE52 #52AE88 #5A52AE #AE5278
square
#A6AE52 #52AE88 #5A52AE #AE5278
split-complementary
#A6AE52 #5278AE #8852AE
monochromatic
#575B2B #7F853E #A6AE52 #BBC27C #D1D5A5

Accessibility & contrast

On white

2.39
#A6AE52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#A6AE52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6AE52
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6AE52#FFFFFF#000000##000000
##A6AE521.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A749
Deuteranopia (green-blind)
#B9A957
Tritanopia (blue-blind)
#AFA599
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a6ae52;
/* rgb */ color: rgb(166, 174, 82);
/* oklch */ color: oklch(72.5% 0.117 113.4);
Tailwind
colors: {
  custom: {
    50: '#c2c685',
    500: '#a6ae52',
    950: '#000000',
  },
}
SCSS
$custom: #a6ae52;
$custom-light: #c2c685;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ae52",
  "rgb": {
    "r": 166,
    "g": 174,
    "b": 82
  },
  "hsl": {
    "h": 65.217,
    "s": 36.22,
    "l": 50.196
  },
  "oklch": {
    "l": 0.72498,
    "c": 0.11685,
    "h": 113.4
  },
  "luminance": 0.38988
}

Semantic roles & 50–950 ramp

primary
#A6AE52
secondary
#9D99C2
accent
#5CCC65
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #A6AE52

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

Preview Lab → · Contrast checker → · Palette generator →

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