#A6AC23#A6AC23

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

Color values

HEX#A6AC23
RGBrgb(166, 172, 35)
HSLhsl(63, 66%, 41%)
HSVhsv(63, 80%, 67%)
CMYKcmyk(3.5%, 0%, 79.7%, 32.5%)
CIE-LABlab(67.82, -17.94, 63.46)
CIE-LCHlch(67.82, 65.94, 105.79°)
OKLaboklab(71.65% -0.0564 0.1379)
OKLCHoklch(71.65% 0.149 112.2)
XYZxyz(30.7828, 37.7342, 7.2516)
Luminance0.3773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AC23 #2923AC
analogous
#AC6E23 #A6AC23 #61AC23
triadic
#A6AC23 #23A6AC #AC23A6
tetradic
#A6AC23 #23AC6E #2923AC #AC2361
square
#A6AC23 #23AC6E #2923AC #AC2361
split-complementary
#A6AC23 #2361AC #6E23AC
monochromatic
#44460E #757919 #A6AC23 #CFD636 #DBE069

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6AC23#FFFFFF#000000##000000
##A6AC231.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)
#BAA400
Deuteranopia (green-blind)
#BAA730
Tritanopia (blue-blind)
#B2A193
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a6ac23;
/* rgb */ color: rgb(166, 172, 35);
/* oklch */ color: oklch(71.6% 0.149 112.2);
Tailwind
colors: {
  custom: {
    50: '#c4c46b',
    500: '#a6ac23',
    950: '#000000',
  },
}
SCSS
$custom: #a6ac23;
$custom-light: #c4c46b;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ac23",
  "rgb": {
    "r": 166,
    "g": 172,
    "b": 35
  },
  "hsl": {
    "h": 62.628,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.71648,
    "c": 0.14899,
    "h": 112.2
  },
  "luminance": 0.37733
}

Semantic roles & 50–950 ramp

primary
#A6AC23
secondary
#6964C6
accent
#3FE946
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A6AC23

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

Preview Lab → · Contrast checker → · Palette generator →

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