#A6A527#A6A527

#A6A527 is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.1% C 0.140 H 109.1°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#A6A527
RGBrgb(166, 165, 39)
HSLhsl(60, 62%, 40%)
HSVhsv(60, 77%, 65%)
CMYKcmyk(0%, 0.6%, 76.5%, 34.9%)
CIE-LABlab(65.88, -14.20, 60.48)
CIE-LCHlch(65.88, 62.12, 103.21°)
OKLaboklab(70.1% -0.0457 0.1323)
OKLCHoklch(70.1% 0.14 109.1)
XYZxyz(29.5484, 35.1647, 7.1500)
Luminance0.3516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A527 #2728A6
analogous
#A66627 #A6A527 #67A627
triadic
#A6A527 #27A6A5 #A527A6
tetradic
#A6A527 #27A666 #2728A6 #A62767
square
#A6A527 #27A666 #2728A6 #A62767
split-complementary
#A6A527 #2767A6 #6627A6
monochromatic
#434210 #74741B #A6A527 #D1CF3A #DCDB6B

Accessibility & contrast

On white

2.61
#A6A527 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#A6A527 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A527
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A527#FFFFFF#000000##000000
##A6A5271.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E06
Deuteranopia (green-blind)
#B5A232
Tritanopia (blue-blind)
#B29A8D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a6a527;
/* rgb */ color: rgb(166, 165, 39);
/* oklch */ color: oklch(70.1% 0.140 109.1);
Tailwind
colors: {
  custom: {
    50: '#c4bf6c',
    500: '#a6a527',
    950: '#000000',
  },
}
SCSS
$custom: #a6a527;
$custom-light: #c4bf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a527",
  "rgb": {
    "r": 166,
    "g": 165,
    "b": 39
  },
  "hsl": {
    "h": 59.528,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.70096,
    "c": 0.13995,
    "h": 109.1
  },
  "luminance": 0.35164
}

Semantic roles & 50–950 ramp

primary
#A6A527
secondary
#6667C3
accent
#44E543
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A6A527

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

Preview Lab → · Contrast checker → · Palette generator →

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