#A5AE23#A5AE23

#A5AE23 is a light, vivid yellow. Relative luminance 0.384; OKLCH L 72.0% C 0.151 H 113.5°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#A5AE23
RGBrgb(165, 174, 35)
HSLhsl(64, 67%, 41%)
HSVhsv(64, 80%, 68%)
CMYKcmyk(5.2%, 0%, 79.9%, 31.8%)
CIE-LABlab(68.31, -19.39, 63.85)
CIE-LCHlch(68.31, 66.73, 106.89°)
OKLaboklab(72.02% -0.0604 0.1388)
OKLCHoklch(72.02% 0.151 113.5)
XYZxyz(30.9575, 38.3935, 7.3697)
Luminance0.3839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AE23 #2C23AE
analogous
#AE7123 #A5AE23 #5FAE23
triadic
#A5AE23 #23A5AE #AE23A5
tetradic
#A5AE23 #23AE71 #2C23AE #AE235F
square
#A5AE23 #23AE71 #2C23AE #AE235F
split-complementary
#A5AE23 #235FAE #7123AE
monochromatic
#44480F #757B19 #A5AE23 #CDD737 #D9E16A

Accessibility & contrast

On white

2.42
#A5AE23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#A5AE23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5AE23
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5AE23#FFFFFF#000000##000000
##A5AE231.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA500
Deuteranopia (green-blind)
#BBA830
Tritanopia (blue-blind)
#B1A395
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a5ae23;
/* rgb */ color: rgb(165, 174, 35);
/* oklch */ color: oklch(72.0% 0.151 113.5);
Tailwind
colors: {
  custom: {
    50: '#c3c66b',
    500: '#a5ae23',
    950: '#000000',
  },
}
SCSS
$custom: #a5ae23;
$custom-light: #c3c66b;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ae23",
  "rgb": {
    "r": 165,
    "g": 174,
    "b": 35
  },
  "hsl": {
    "h": 63.885,
    "s": 66.507,
    "l": 40.98
  },
  "oklch": {
    "l": 0.72017,
    "c": 0.15136,
    "h": 113.5
  },
  "luminance": 0.38393
}

Semantic roles & 50–950 ramp

primary
#A5AE23
secondary
#6C66C7
accent
#3EE949
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A5AE23

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

Preview Lab → · Contrast checker → · Palette generator →

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