#A6A327#A6A327

#A6A327 is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.7% C 0.138 H 108.1°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#A6A327
RGBrgb(166, 163, 39)
HSLhsl(59, 62%, 40%)
HSVhsv(59, 77%, 65%)
CMYKcmyk(0%, 1.8%, 76.5%, 34.9%)
CIE-LABlab(65.32, -13.16, 59.96)
CIE-LCHlch(65.32, 61.39, 102.38°)
OKLaboklab(69.65% -0.0428 0.1312)
OKLCHoklch(69.65% 0.138 108.1)
XYZxyz(29.1904, 34.4488, 7.0307)
Luminance0.3445 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A327 #272AA6
analogous
#A66427 #A6A327 #69A627
triadic
#A6A327 #27A6A3 #A327A6
tetradic
#A6A327 #27A664 #272AA6 #A62769
square
#A6A327 #27A664 #272AA6 #A62769
split-complementary
#A6A327 #2769A6 #6427A6
monochromatic
#434210 #74721B #A6A327 #D1CD3A #DCDA6B

Accessibility & contrast

On white

2.66
#A6A327 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#A6A327 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A327
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A327#FFFFFF#000000##000000
##A6A3271.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C07
Deuteranopia (green-blind)
#B3A131
Tritanopia (blue-blind)
#B2988C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a6a327;
/* rgb */ color: rgb(166, 163, 39);
/* oklch */ color: oklch(69.7% 0.138 108.1);
Tailwind
colors: {
  custom: {
    50: '#c4be6c',
    500: '#a6a327',
    950: '#000000',
  },
}
SCSS
$custom: #a6a327;
$custom-light: #c4be6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a327",
  "rgb": {
    "r": 166,
    "g": 163,
    "b": 39
  },
  "hsl": {
    "h": 58.583,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.6965,
    "c": 0.13799,
    "h": 108.1
  },
  "luminance": 0.34448
}

Semantic roles & 50–950 ramp

primary
#A6A327
secondary
#6668C3
accent
#47E543
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A6A327

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

Preview Lab → · Contrast checker → · Palette generator →

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