#A8A427#A8A427

#A8A427 is a light, vivid yellow. Relative luminance 0.350; OKLCH L 70.0% C 0.139 H 107.6°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#A8A427
RGBrgb(168, 164, 39)
HSLhsl(58, 62%, 41%)
HSVhsv(58, 77%, 66%)
CMYKcmyk(0%, 2.4%, 76.8%, 34.1%)
CIE-LABlab(65.77, -12.80, 60.44)
CIE-LCHlch(65.77, 61.78, 101.96°)
OKLaboklab(70.05% -0.0419 0.1321)
OKLCHoklch(70.05% 0.139 107.6)
XYZxyz(29.7913, 35.0233, 7.1099)
Luminance0.3502 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A427 #272BA8
analogous
#A86427 #A8A427 #6BA827
triadic
#A8A427 #27A8A4 #A427A8
tetradic
#A8A427 #27A864 #272BA8 #A8276B
square
#A8A427 #27A864 #272BA8 #A8276B
split-complementary
#A8A427 #276BA8 #6427A8
monochromatic
#454310 #76741B #A8A427 #D1CD3B #DDD96C

Accessibility & contrast

On white

2.62
#A8A427 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#A8A427 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A427
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A427#FFFFFF#000000##000000
##A8A4271.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D06
Deuteranopia (green-blind)
#B4A231
Tritanopia (blue-blind)
#B5998D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a8a427;
/* rgb */ color: rgb(168, 164, 39);
/* oklch */ color: oklch(70.0% 0.139 107.6);
Tailwind
colors: {
  custom: {
    50: '#c6be6c',
    500: '#a8a427',
    950: '#000000',
  },
}
SCSS
$custom: #a8a427;
$custom-light: #c6be6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a427",
  "rgb": {
    "r": 168,
    "g": 164,
    "b": 39
  },
  "hsl": {
    "h": 58.14,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.7005,
    "c": 0.1386,
    "h": 107.6
  },
  "luminance": 0.35022
}

Semantic roles & 50–950 ramp

primary
#A8A427
secondary
#676AC3
accent
#47E542
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A8A427

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

Preview Lab → · Contrast checker → · Palette generator →

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