#A8A627#A8A627

#A8A627 is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.5% C 0.141 H 108.6°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#A8A627
RGBrgb(168, 166, 39)
HSLhsl(59, 62%, 41%)
HSVhsv(59, 77%, 66%)
CMYKcmyk(0%, 1.2%, 76.8%, 34.1%)
CIE-LABlab(66.32, -13.84, 60.95)
CIE-LCHlch(66.32, 62.50, 102.79°)
OKLaboklab(70.49% -0.0448 0.1332)
OKLCHoklch(70.49% 0.141 108.6)
XYZxyz(30.1520, 35.7447, 7.2302)
Luminance0.3574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A627 #2729A8
analogous
#A86527 #A8A627 #69A827
triadic
#A8A627 #27A8A6 #A627A8
tetradic
#A8A627 #27A865 #2729A8 #A82769
square
#A8A627 #27A865 #2729A8 #A82769
split-complementary
#A8A627 #2769A8 #6527A8
monochromatic
#454410 #76751B #A8A627 #D1CF3B #DDDB6C

Accessibility & contrast

On white

2.58
#A8A627 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#A8A627 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A627
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A627#FFFFFF#000000##000000
##A8A6271.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8a627;
/* rgb */ color: rgb(168, 166, 39);
/* oklch */ color: oklch(70.5% 0.141 108.6);
Tailwind
colors: {
  custom: {
    50: '#c6c06c',
    500: '#a8a627',
    950: '#000000',
  },
}
SCSS
$custom: #a8a627;
$custom-light: #c6c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a627",
  "rgb": {
    "r": 168,
    "g": 166,
    "b": 39
  },
  "hsl": {
    "h": 59.07,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.70495,
    "c": 0.14054,
    "h": 108.6
  },
  "luminance": 0.35744
}

Semantic roles & 50–950 ramp

primary
#A8A627
secondary
#6769C3
accent
#45E542
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A8A627

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

Preview Lab → · Contrast checker → · Palette generator →

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