#A6AC27#A6AC27

#A6AC27 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#A6AC27
RGBrgb(166, 172, 39)
HSLhsl(63, 63%, 41%)
HSVhsv(63, 77%, 67%)
CMYKcmyk(3.5%, 0%, 77.3%, 32.5%)
CIE-LABlab(67.84, -17.79, 62.27)
CIE-LCHlch(67.84, 64.76, 105.94°)
OKLaboklab(71.67% -0.0557 0.1361)
OKLCHoklch(71.67% 0.147 112.2)
XYZxyz(30.8457, 37.7593, 7.5825)
Luminance0.3776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AC27 #2D27AC
analogous
#AC7027 #A6AC27 #64AC27
triadic
#A6AC27 #27A6AC #AC27A6
tetradic
#A6AC27 #27AC70 #2D27AC #AC2764
square
#A6AC27 #27AC70 #2D27AC #AC2764
split-complementary
#A6AC27 #2764AC #7027AC
monochromatic
#464810 #767A1C #A6AC27 #CCD33D #D9DE6F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6AC27#FFFFFF#000000##000000
##A6AC271.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)
#BAA733
Tritanopia (blue-blind)
#B2A193
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a6ac27;
/* rgb */ color: rgb(166, 172, 39);
/* oklch */ color: oklch(71.7% 0.147 112.2);
Tailwind
colors: {
  custom: {
    50: '#c4c46d',
    500: '#a6ac27',
    950: '#000000',
  },
}
SCSS
$custom: #a6ac27;
$custom-light: #c4c46d;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ac27",
  "rgb": {
    "r": 166,
    "g": 172,
    "b": 39
  },
  "hsl": {
    "h": 62.707,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.71669,
    "c": 0.14705,
    "h": 112.2
  },
  "luminance": 0.37759
}

Semantic roles & 50–950 ramp

primary
#A6AC27
secondary
#6E6AC5
accent
#42E649
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A6AC27

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

Preview Lab → · Contrast checker → · Palette generator →

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