#A6AE54#A6AE54

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

Color values

HEX#A6AE54
RGBrgb(166, 174, 84)
HSLhsl(65, 36%, 51%)
HSVhsv(65, 52%, 68%)
CMYKcmyk(4.6%, 0%, 51.7%, 31.8%)
CIE-LABlab(68.77, -15.86, 44.71)
CIE-LCHlch(68.77, 47.44, 109.54°)
OKLaboklab(72.52% -0.0457 0.1054)
OKLCHoklch(72.52% 0.115 113.5)
XYZxyz(32.4628, 39.0197, 14.2072)
Luminance0.3902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AE54 #5C54AE
analogous
#AE8954 #A6AE54 #79AE54
triadic
#A6AE54 #54A6AE #AE54A6
tetradic
#A6AE54 #54AE89 #5C54AE #AE5479
square
#A6AE54 #54AE89 #5C54AE #AE5479
split-complementary
#A6AE54 #5479AE #8954AE
monochromatic
#585C2C #7F863F #A6AE54 #BCC27E #D1D5A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6AE54#FFFFFF#000000##000000
##A6AE541.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)
#B9A74C
Deuteranopia (green-blind)
#B9A959
Tritanopia (blue-blind)
#AFA59A
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a6ae54;
/* rgb */ color: rgb(166, 174, 84);
/* oklch */ color: oklch(72.5% 0.115 113.5);
Tailwind
colors: {
  custom: {
    50: '#c2c687',
    500: '#a6ae54',
    950: '#000000',
  },
}
SCSS
$custom: #a6ae54;
$custom-light: #c2c687;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ae54",
  "rgb": {
    "r": 166,
    "g": 174,
    "b": 84
  },
  "hsl": {
    "h": 65.333,
    "s": 35.714,
    "l": 50.588
  },
  "oklch": {
    "l": 0.72523,
    "c": 0.11487,
    "h": 113.5
  },
  "luminance": 0.39019
}

Semantic roles & 50–950 ramp

primary
#A6AE54
secondary
#9E9BC3
accent
#5CCC66
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13130B
muted
#82827C

Preview Lab

Preview with #A6AE54

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

Preview Lab → · Contrast checker → · Palette generator →

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