#A5A327#A5A327

#A5A327 is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.6% C 0.138 H 108.6°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#A5A327
RGBrgb(165, 163, 39)
HSLhsl(59, 62%, 40%)
HSVhsv(59, 76%, 65%)
CMYKcmyk(0%, 1.2%, 76.4%, 35.3%)
CIE-LABlab(65.23, -13.60, 59.86)
CIE-LCHlch(65.23, 61.38, 102.80°)
OKLaboklab(69.56% -0.044 0.131)
OKLCHoklch(69.56% 0.138 108.6)
XYZxyz(28.9816, 34.3411, 7.0209)
Luminance0.3434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A327 #2729A5
analogous
#A56427 #A5A327 #68A527
triadic
#A5A327 #27A5A3 #A327A5
tetradic
#A5A327 #27A564 #2729A5 #A52768
square
#A5A327 #27A564 #2729A5 #A52768
split-complementary
#A5A327 #2768A5 #6427A5
monochromatic
#424110 #74721B #A5A327 #D0CE39 #DCDA6A

Accessibility & contrast

On white

2.67
#A5A327 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#A5A327 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A327
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A327#FFFFFF#000000##000000
##A5A3271.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C07
Deuteranopia (green-blind)
#B3A031
Tritanopia (blue-blind)
#B1988C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a5a327;
/* rgb */ color: rgb(165, 163, 39);
/* oklch */ color: oklch(69.6% 0.138 108.6);
Tailwind
colors: {
  custom: {
    50: '#c3be6c',
    500: '#a5a327',
    950: '#000000',
  },
}
SCSS
$custom: #a5a327;
$custom-light: #c3be6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a327",
  "rgb": {
    "r": 165,
    "g": 163,
    "b": 39
  },
  "hsl": {
    "h": 59.048,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.69561,
    "c": 0.13818,
    "h": 108.6
  },
  "luminance": 0.3434
}

Semantic roles & 50–950 ramp

primary
#A5A327
secondary
#6667C2
accent
#46E543
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A5A327

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

Preview Lab → · Contrast checker → · Palette generator →

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