#A6AB52#A6AB52

#A6AB52 is a light, moderate yellow. Relative luminance 0.378; OKLCH L 71.8% C 0.113 H 111.8°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#A6AB52
RGBrgb(166, 171, 82)
HSLhsl(63, 35%, 50%)
HSVhsv(63, 52%, 67%)
CMYKcmyk(2.9%, 0%, 52%, 32.9%)
CIE-LABlab(67.90, -14.50, 44.66)
CIE-LCHlch(67.90, 46.96, 107.99°)
OKLaboklab(71.83% -0.0421 0.1051)
OKLCHoklch(71.83% 0.113 111.8)
XYZxyz(31.8124, 37.8426, 13.6095)
Luminance0.3784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AB52 #5752AB
analogous
#AB8452 #A6AB52 #7AAB52
triadic
#A6AB52 #52A6AB #AB52A6
tetradic
#A6AB52 #52AB84 #5752AB #AB527A
square
#A6AB52 #52AB84 #5752AB #AB527A
split-complementary
#A6AB52 #527AAB #8452AB
monochromatic
#56582A #7E823E #A6AB52 #BCC07B #D1D3A4

Accessibility & contrast

On white

2.45
#A6AB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#A6AB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6AB52
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6AB52#FFFFFF#000000##000000
##A6AB521.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A44A
Deuteranopia (green-blind)
#B7A757
Tritanopia (blue-blind)
#B0A297
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a6ab52;
/* rgb */ color: rgb(166, 171, 82);
/* oklch */ color: oklch(71.8% 0.113 111.8);
Tailwind
colors: {
  custom: {
    50: '#c2c385',
    500: '#a6ab52',
    950: '#000000',
  },
}
SCSS
$custom: #a6ab52;
$custom-light: #c2c385;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ab52",
  "rgb": {
    "r": 166,
    "g": 171,
    "b": 82
  },
  "hsl": {
    "h": 63.371,
    "s": 35.178,
    "l": 49.608
  },
  "oklch": {
    "l": 0.71828,
    "c": 0.1132,
    "h": 111.8
  },
  "luminance": 0.37842
}

Semantic roles & 50–950 ramp

primary
#A6AB52
secondary
#9A98C1
accent
#5DCB63
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #A6AB52

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

Preview Lab → · Contrast checker → · Palette generator →

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