#A8A927#A8A927

#A8A927 is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.2% C 0.143 H 110.0°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#A8A927
RGBrgb(168, 169, 39)
HSLhsl(60, 63%, 41%)
HSVhsv(60, 77%, 66%)
CMYKcmyk(0.6%, 0%, 76.9%, 33.7%)
CIE-LABlab(67.16, -15.39, 61.71)
CIE-LCHlch(67.16, 63.60, 104.00°)
OKLaboklab(71.17% -0.0491 0.1348)
OKLCHoklch(71.17% 0.144 110)
XYZxyz(30.7038, 36.8482, 7.4141)
Luminance0.3685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A927 #2827A9
analogous
#A96927 #A8A927 #67A927
triadic
#A8A927 #27A8A9 #A927A8
tetradic
#A8A927 #27A969 #2827A9 #A92767
square
#A8A927 #27A969 #2827A9 #A92767
split-complementary
#A8A927 #2767A9 #6927A9
monochromatic
#454610 #77771C #A8A927 #D1D23B #DCDD6D

Accessibility & contrast

On white

2.51
#A8A927 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#A8A927 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A927
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A927#FFFFFF#000000##000000
##A8A9271.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A102
Deuteranopia (green-blind)
#B8A532
Tritanopia (blue-blind)
#B49E91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a8a927;
/* rgb */ color: rgb(168, 169, 39);
/* oklch */ color: oklch(71.2% 0.143 110.0);
Tailwind
colors: {
  custom: {
    50: '#c6c26c',
    500: '#a8a927',
    950: '#000000',
  },
}
SCSS
$custom: #a8a927;
$custom-light: #c6c26c;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a927",
  "rgb": {
    "r": 168,
    "g": 169,
    "b": 39
  },
  "hsl": {
    "h": 60.462,
    "s": 62.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.71165,
    "c": 0.1435,
    "h": 110
  },
  "luminance": 0.36847
}

Semantic roles & 50–950 ramp

primary
#A8A927
secondary
#6968C4
accent
#42E643
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A927

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

Preview Lab → · Contrast checker → · Palette generator →

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