#A6A427#A6A427

#A6A427 is a light, vivid yellow. Relative luminance 0.348; OKLCH L 69.9% C 0.139 H 108.6°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#A6A427
RGBrgb(166, 164, 39)
HSLhsl(59, 62%, 40%)
HSVhsv(59, 77%, 65%)
CMYKcmyk(0%, 1.2%, 76.5%, 34.9%)
CIE-LABlab(65.60, -13.68, 60.22)
CIE-LCHlch(65.60, 61.76, 102.80°)
OKLaboklab(69.87% -0.0442 0.1317)
OKLCHoklch(69.87% 0.139 108.6)
XYZxyz(29.3687, 34.8053, 7.0901)
Luminance0.3480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A427 #2729A6
analogous
#A66427 #A6A427 #69A627
triadic
#A6A427 #27A6A4 #A427A6
tetradic
#A6A427 #27A664 #2729A6 #A62769
square
#A6A427 #27A664 #2729A6 #A62769
split-complementary
#A6A427 #2769A6 #6427A6
monochromatic
#434210 #74731B #A6A427 #D1CE3A #DCDA6B

Accessibility & contrast

On white

2.64
#A6A427 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#A6A427 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A427
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A427#FFFFFF#000000##000000
##A6A4271.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D07
Deuteranopia (green-blind)
#B4A131
Tritanopia (blue-blind)
#B2998D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a6a427;
/* rgb */ color: rgb(166, 164, 39);
/* oklch */ color: oklch(69.9% 0.139 108.6);
Tailwind
colors: {
  custom: {
    50: '#c4be6c',
    500: '#a6a427',
    950: '#000000',
  },
}
SCSS
$custom: #a6a427;
$custom-light: #c4be6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a427",
  "rgb": {
    "r": 166,
    "g": 164,
    "b": 39
  },
  "hsl": {
    "h": 59.055,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.69873,
    "c": 0.13897,
    "h": 108.6
  },
  "luminance": 0.34804
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A6A427

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

Preview Lab → · Contrast checker → · Palette generator →

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