#A6AC38#A6AC38

#A6AC38 is a light, vivid yellow. Relative luminance 0.379; OKLCH L 71.8% C 0.137 H 112.2°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#A6AC38
RGBrgb(166, 172, 56)
HSLhsl(63, 51%, 45%)
HSVhsv(63, 67%, 67%)
CMYKcmyk(3.5%, 0%, 67.4%, 32.5%)
CIE-LABlab(67.95, -16.95, 56.30)
CIE-LCHlch(67.95, 58.80, 106.75°)
OKLaboklab(71.78% -0.0517 0.1265)
OKLCHoklch(71.78% 0.137 112.2)
XYZxyz(31.1931, 37.8983, 9.4125)
Luminance0.3790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AC38 #3E38AC
analogous
#AC7838 #A6AC38 #6CAC38
triadic
#A6AC38 #38A6AC #AC38A6
tetradic
#A6AC38 #38AC78 #3E38AC #AC386C
square
#A6AC38 #38AC78 #3E38AC #AC386C
split-complementary
#A6AC38 #386CAC #7838AC
monochromatic
#4D501A #797E29 #A6AC38 #C3C958 #D4D887

Accessibility & contrast

On white

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

On black

8.58
#A6AC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6AC38
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6AC38#FFFFFF#000000##000000
##A6AC381.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A427
Deuteranopia (green-blind)
#B9A740
Tritanopia (blue-blind)
#B1A295
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a6ac38;
/* rgb */ color: rgb(166, 172, 56);
/* oklch */ color: oklch(71.8% 0.137 112.2);
Tailwind
colors: {
  custom: {
    50: '#c3c475',
    500: '#a6ac38',
    950: '#000000',
  },
}
SCSS
$custom: #a6ac38;
$custom-light: #c3c475;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ac38",
  "rgb": {
    "r": 166,
    "g": 172,
    "b": 56
  },
  "hsl": {
    "h": 63.103,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.71784,
    "c": 0.13664,
    "h": 112.2
  },
  "luminance": 0.37898
}

Semantic roles & 50–950 ramp

primary
#A6AC38
secondary
#827EC2
accent
#4DDA55
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A6AC38

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

Preview Lab → · Contrast checker → · Palette generator →

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