#A6A627#A6A627

#A6A627 is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.3% C 0.141 H 109.5°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#A6A627
RGBrgb(166, 166, 39)
HSLhsl(60, 62%, 40%)
HSVhsv(60, 77%, 65%)
CMYKcmyk(0%, 0%, 76.5%, 34.9%)
CIE-LABlab(66.16, -14.72, 60.73)
CIE-LCHlch(66.16, 62.49, 103.62°)
OKLaboklab(70.32% -0.0471 0.1328)
OKLCHoklch(70.32% 0.141 109.5)
XYZxyz(29.7294, 35.5268, 7.2104)
Luminance0.3553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A627 #2727A6
analogous
#A66627 #A6A627 #66A627
triadic
#A6A627 #27A6A6 #A627A6
tetradic
#A6A627 #27A666 #2727A6 #A62766
square
#A6A627 #27A666 #2727A6 #A62766
split-complementary
#A6A627 #2766A6 #6627A6
monochromatic
#434310 #74741B #A6A627 #D1D13A #DCDC6B

Accessibility & contrast

On white

2.59
#A6A627 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#A6A627 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A627
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A627#FFFFFF#000000##000000
##A6A6271.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F05
Deuteranopia (green-blind)
#B5A332
Tritanopia (blue-blind)
#B29B8E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a6a627;
/* rgb */ color: rgb(166, 166, 39);
/* oklch */ color: oklch(70.3% 0.141 109.5);
Tailwind
colors: {
  custom: {
    50: '#c4c06c',
    500: '#a6a627',
    950: '#000000',
  },
}
SCSS
$custom: #a6a627;
$custom-light: #c4c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a627",
  "rgb": {
    "r": 166,
    "g": 166,
    "b": 39
  },
  "hsl": {
    "h": 60,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.7032,
    "c": 0.14094,
    "h": 109.5
  },
  "luminance": 0.35526
}

Semantic roles & 50–950 ramp

primary
#A6A627
secondary
#6666C3
accent
#43E543
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A6A627

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

Preview Lab → · Contrast checker → · Palette generator →

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