#A6AC28#A6AC28

#A6AC28 is a light, vivid yellow. Relative luminance 0.378; OKLCH L 71.7% C 0.147 H 112.2°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#A6AC28
RGBrgb(166, 172, 40)
HSLhsl(63, 62%, 42%)
HSVhsv(63, 77%, 67%)
CMYKcmyk(3.5%, 0%, 76.7%, 32.5%)
CIE-LABlab(67.85, -17.75, 61.96)
CIE-LCHlch(67.85, 64.45, 105.98°)
OKLaboklab(71.67% -0.0555 0.1356)
OKLCHoklch(71.67% 0.147 112.2)
XYZxyz(30.8624, 37.7660, 7.6709)
Luminance0.3776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AC28 #2E28AC
analogous
#AC7028 #A6AC28 #64AC28
triadic
#A6AC28 #28A6AC #AC28A6
tetradic
#A6AC28 #28AC70 #2E28AC #AC2864
square
#A6AC28 #28AC70 #2E28AC #AC2864
split-complementary
#A6AC28 #2864AC #7028AC
monochromatic
#464911 #767A1C #A6AC28 #CCD23F #D9DE71

Accessibility & contrast

On white

2.46
#A6AC28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#A6AC28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6AC28
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6AC28#FFFFFF#000000##000000
##A6AC281.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A403
Deuteranopia (green-blind)
#BAA734
Tritanopia (blue-blind)
#B2A193
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a6ac28;
/* rgb */ color: rgb(166, 172, 40);
/* oklch */ color: oklch(71.7% 0.147 112.2);
Tailwind
colors: {
  custom: {
    50: '#c4c46d',
    500: '#a6ac28',
    950: '#000000',
  },
}
SCSS
$custom: #a6ac28;
$custom-light: #c4c46d;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ac28",
  "rgb": {
    "r": 166,
    "g": 172,
    "b": 40
  },
  "hsl": {
    "h": 62.727,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.71674,
    "c": 0.14654,
    "h": 112.2
  },
  "luminance": 0.37765
}

Semantic roles & 50–950 ramp

primary
#A6AC28
secondary
#6F6BC5
accent
#42E54A
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A6AC28

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

Preview Lab → · Contrast checker → · Palette generator →

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