#A8A527#A8A527

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

Color values

HEX#A8A527
RGBrgb(168, 165, 39)
HSLhsl(59, 62%, 41%)
HSVhsv(59, 77%, 66%)
CMYKcmyk(0%, 1.8%, 76.8%, 34.1%)
CIE-LABlab(66.05, -13.32, 60.69)
CIE-LCHlch(66.05, 62.14, 102.38°)
OKLaboklab(70.27% -0.0433 0.1327)
OKLCHoklch(70.27% 0.14 108.1)
XYZxyz(29.9710, 35.3826, 7.1698)
Luminance0.3538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A527 #272AA8
analogous
#A86527 #A8A527 #6AA827
triadic
#A8A527 #27A8A5 #A527A8
tetradic
#A8A527 #27A865 #272AA8 #A8276A
square
#A8A527 #27A865 #272AA8 #A8276A
split-complementary
#A8A527 #276AA8 #6527A8
monochromatic
#454310 #76741B #A8A527 #D1CE3B #DDDA6C

Accessibility & contrast

On white

2.60
#A8A527 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#A8A527 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A527
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A527#FFFFFF#000000##000000
##A8A5271.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8a527;
/* rgb */ color: rgb(168, 165, 39);
/* oklch */ color: oklch(70.3% 0.140 108.1);
Tailwind
colors: {
  custom: {
    50: '#c6bf6c',
    500: '#a8a527',
    950: '#000000',
  },
}
SCSS
$custom: #a8a527;
$custom-light: #c6bf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a527",
  "rgb": {
    "r": 168,
    "g": 165,
    "b": 39
  },
  "hsl": {
    "h": 58.605,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.70272,
    "c": 0.13956,
    "h": 108.1
  },
  "luminance": 0.35382
}

Semantic roles & 50–950 ramp

primary
#A8A527
secondary
#6769C3
accent
#46E542
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A8A527

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

Preview Lab → · Contrast checker → · Palette generator →

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