#A6AC45#A6AC45

#A6AC45 is a light, vivid yellow. Relative luminance 0.380; OKLCH L 71.9% C 0.126 H 112.3°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#A6AC45
RGBrgb(166, 172, 69)
HSLhsl(63, 43%, 47%)
HSVhsv(63, 60%, 67%)
CMYKcmyk(3.5%, 0%, 59.9%, 32.5%)
CIE-LABlab(68.05, -16.08, 50.90)
CIE-LCHlch(68.05, 53.38, 107.53°)
OKLaboklab(71.9% -0.0479 0.117)
OKLCHoklch(71.9% 0.126 112.3)
XYZxyz(31.5534, 38.0424, 11.3098)
Luminance0.3804 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AC45 #4B45AC
analogous
#AC7F45 #A6AC45 #73AC45
triadic
#A6AC45 #45A6AC #AC45A6
tetradic
#A6AC45 #45AC7F #4B45AC #AC4573
square
#A6AC45 #45AC7F #4B45AC #AC4573
split-complementary
#A6AC45 #4573AC #7F45AC
monochromatic
#525522 #7C8033 #A6AC45 #BEC46B #D1D596

Accessibility & contrast

On white

2.44
#A6AC45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#A6AC45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6AC45
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6AC45#FFFFFF#000000##000000
##A6AC451.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A539
Deuteranopia (green-blind)
#B8A74B
Tritanopia (blue-blind)
#B0A296
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a6ac45;
/* rgb */ color: rgb(166, 172, 69);
/* oklch */ color: oklch(71.9% 0.126 112.3);
Tailwind
colors: {
  custom: {
    50: '#c3c47d',
    500: '#a6ac45',
    950: '#000000',
  },
}
SCSS
$custom: #a6ac45;
$custom-light: #c3c47d;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ac45",
  "rgb": {
    "r": 166,
    "g": 172,
    "b": 69
  },
  "hsl": {
    "h": 63.495,
    "s": 42.739,
    "l": 47.255
  },
  "oklch": {
    "l": 0.71903,
    "c": 0.12642,
    "h": 112.3
  },
  "luminance": 0.38042
}

Semantic roles & 50–950 ramp

primary
#A6AC45
secondary
#8F8CC1
accent
#55D35D
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #A6AC45

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

Preview Lab → · Contrast checker → · Palette generator →

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