#A8A327#A8A327

#A8A327 is a light, vivid yellow. Relative luminance 0.347; OKLCH L 69.8% C 0.138 H 107.1°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#A8A327
RGBrgb(168, 163, 39)
HSLhsl(58, 62%, 41%)
HSVhsv(58, 77%, 66%)
CMYKcmyk(0%, 3%, 76.8%, 34.1%)
CIE-LABlab(65.49, -12.28, 60.18)
CIE-LCHlch(65.49, 61.42, 101.53°)
OKLaboklab(69.83% -0.0404 0.1316)
OKLCHoklch(69.83% 0.138 107.1)
XYZxyz(29.6131, 34.6668, 7.0505)
Luminance0.3467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A327 #272CA8
analogous
#A86227 #A8A327 #6DA827
triadic
#A8A327 #27A8A3 #A327A8
tetradic
#A8A327 #27A862 #272CA8 #A8276D
square
#A8A327 #27A862 #272CA8 #A8276D
split-complementary
#A8A327 #276DA8 #6227A8
monochromatic
#454310 #76731B #A8A327 #D1CC3B #DDD96C

Accessibility & contrast

On white

2.65
#A8A327 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#A8A327 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A327
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A327#FFFFFF#000000##000000
##A8A3271.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D07
Deuteranopia (green-blind)
#B4A131
Tritanopia (blue-blind)
#B5988C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a8a327;
/* rgb */ color: rgb(168, 163, 39);
/* oklch */ color: oklch(69.8% 0.138 107.1);
Tailwind
colors: {
  custom: {
    50: '#c6bd6c',
    500: '#a8a327',
    950: '#000000',
  },
}
SCSS
$custom: #a8a327;
$custom-light: #c6bd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a327",
  "rgb": {
    "r": 168,
    "g": 163,
    "b": 39
  },
  "hsl": {
    "h": 57.674,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.69828,
    "c": 0.13765,
    "h": 107.1
  },
  "luminance": 0.34666
}

Semantic roles & 50–950 ramp

primary
#A8A327
secondary
#676BC3
accent
#49E542
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A8A327

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

Preview Lab → · Contrast checker → · Palette generator →

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