#A6AC5D#A6AC5D

#A6AC5D is a light, moderate yellow. Relative luminance 0.384; OKLCH L 72.2% C 0.103 H 112.5°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#A6AC5D
RGBrgb(166, 172, 93)
HSLhsl(65, 32%, 52%)
HSVhsv(65, 46%, 67%)
CMYKcmyk(3.5%, 0%, 45.9%, 32.5%)
CIE-LABlab(68.32, -13.96, 39.71)
CIE-LCHlch(68.32, 42.09, 109.37°)
OKLaboklab(72.2% -0.0394 0.0952)
OKLCHoklch(72.2% 0.103 112.5)
XYZxyz(32.4547, 38.4029, 16.0566)
Luminance0.3840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AC5D #635DAC
analogous
#AC8B5D #A6AC5D #7FAC5D
triadic
#A6AC5D #5DA6AC #AC5DA6
tetradic
#A6AC5D #5DAC8B #635DAC #AC5D7F
square
#A6AC5D #5DAC8B #635DAC #AC5D7F
split-complementary
#A6AC5D #5D7FAC #8B5DAC
monochromatic
#5B5E30 #828745 #A6AC5D #BCC185 #D2D5AE

Accessibility & contrast

On white

2.42
#A6AC5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#A6AC5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6AC5D
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6AC5D#FFFFFF#000000##000000
##A6AC5D1.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A656
Deuteranopia (green-blind)
#B6A861
Tritanopia (blue-blind)
#AFA499
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a6ac5d;
/* rgb */ color: rgb(166, 172, 93);
/* oklch */ color: oklch(72.2% 0.103 112.5);
Tailwind
colors: {
  custom: {
    50: '#c2c48c',
    500: '#a6ac5d',
    950: '#000000',
  },
}
SCSS
$custom: #a6ac5d;
$custom-light: #c2c48c;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ac5d",
  "rgb": {
    "r": 166,
    "g": 172,
    "b": 93
  },
  "hsl": {
    "h": 64.557,
    "s": 32.245,
    "l": 51.961
  },
  "oklch": {
    "l": 0.722,
    "c": 0.10301,
    "h": 112.5
  },
  "luminance": 0.38402
}

Semantic roles & 50–950 ramp

primary
#A6AC5D
secondary
#A4A1C4
accent
#5FC867
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #A6AC5D

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

Preview Lab → · Contrast checker → · Palette generator →

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