#A9A627#A9A627

#A9A627 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.6% C 0.140 H 108.1°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#A9A627
RGBrgb(169, 166, 39)
HSLhsl(59, 63%, 41%)
HSVhsv(59, 77%, 66%)
CMYKcmyk(0%, 1.8%, 76.9%, 33.7%)
CIE-LABlab(66.41, -13.40, 61.06)
CIE-LCHlch(66.41, 62.51, 102.38°)
OKLaboklab(70.58% -0.0436 0.1334)
OKLCHoklch(70.58% 0.14 108.1)
XYZxyz(30.3658, 35.8550, 7.2402)
Luminance0.3585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9A627 #272AA9
analogous
#A96527 #A9A627 #6BA927
triadic
#A9A627 #27A9A6 #A627A9
tetradic
#A9A627 #27A965 #272AA9 #A9276B
square
#A9A627 #27A965 #272AA9 #A9276B
split-complementary
#A9A627 #276BA9 #6527A9
monochromatic
#464410 #77751C #A9A627 #D2CE3B #DDDB6D

Accessibility & contrast

On white

2.57
#A9A627 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#A9A627 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A9A627
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9A627#FFFFFF#000000##000000
##A9A6271.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a9a627;
/* rgb */ color: rgb(169, 166, 39);
/* oklch */ color: oklch(70.6% 0.140 108.1);
Tailwind
colors: {
  custom: {
    50: '#c6c06c',
    500: '#a9a627',
    950: '#000000',
  },
}
SCSS
$custom: #a9a627;
$custom-light: #c6c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#a9a627",
  "rgb": {
    "r": 169,
    "g": 166,
    "b": 39
  },
  "hsl": {
    "h": 58.615,
    "s": 62.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.70583,
    "c": 0.14035,
    "h": 108.1
  },
  "luminance": 0.35854
}

Semantic roles & 50–950 ramp

primary
#A9A627
secondary
#686AC4
accent
#46E642
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A9A627

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

Preview Lab → · Contrast checker → · Palette generator →

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