#A5AE31#A5AE31

#A5AE31 is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.1% C 0.144 H 113.6°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#A5AE31
RGBrgb(165, 174, 49)
HSLhsl(64, 56%, 44%)
HSVhsv(64, 72%, 68%)
CMYKcmyk(5.2%, 0%, 71.8%, 31.8%)
CIE-LABlab(68.38, -18.78, 59.37)
CIE-LCHlch(68.38, 62.27, 107.55°)
OKLaboklab(72.1% -0.0575 0.1318)
OKLCHoklch(72.1% 0.144 113.6)
XYZxyz(31.2084, 38.4938, 8.6912)
Luminance0.3849 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AE31 #3A31AE
analogous
#AE7831 #A5AE31 #66AE31
triadic
#A5AE31 #31A5AE #AE31A5
tetradic
#A5AE31 #31AE78 #3A31AE #AE3166
square
#A5AE31 #31AE78 #3A31AE #AE3166
split-complementary
#A5AE31 #3166AE #7831AE
monochromatic
#4A4E16 #787E24 #A5AE31 #C4CD4F #D4DB7F

Accessibility & contrast

On white

2.41
#A5AE31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#A5AE31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5AE31
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5AE31#FFFFFF#000000##000000
##A5AE311.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA61A
Deuteranopia (green-blind)
#BBA83B
Tritanopia (blue-blind)
#B0A496
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a5ae31;
/* rgb */ color: rgb(165, 174, 49);
/* oklch */ color: oklch(72.1% 0.144 113.6);
Tailwind
colors: {
  custom: {
    50: '#c3c672',
    500: '#a5ae31',
    950: '#000000',
  },
}
SCSS
$custom: #a5ae31;
$custom-light: #c3c672;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ae31",
  "rgb": {
    "r": 165,
    "g": 174,
    "b": 49
  },
  "hsl": {
    "h": 64.32,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.721,
    "c": 0.14378,
    "h": 113.6
  },
  "luminance": 0.38493
}

Semantic roles & 50–950 ramp

primary
#A5AE31
secondary
#7D77C4
accent
#48DF53
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5AE31

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

Preview Lab → · Contrast checker → · Palette generator →

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