#A5AE51#A5AE51

#A5AE51 is a light, moderate yellow. Relative luminance 0.389; OKLCH L 72.4% C 0.118 H 113.9°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#A5AE51
RGBrgb(165, 174, 81)
HSLhsl(66, 36%, 50%)
HSVhsv(66, 53%, 68%)
CMYKcmyk(5.2%, 0%, 53.4%, 31.8%)
CIE-LABlab(68.65, -16.55, 46.00)
CIE-LCHlch(68.65, 48.89, 109.79°)
OKLaboklab(72.4% -0.0479 0.1079)
OKLCHoklch(72.4% 0.118 113.9)
XYZxyz(32.1389, 38.8660, 13.5918)
Luminance0.3887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AE51 #5A51AE
analogous
#AE8851 #A5AE51 #77AE51
triadic
#A5AE51 #51A5AE #AE51A5
tetradic
#A5AE51 #51AE88 #5A51AE #AE5177
square
#A5AE51 #51AE88 #5A51AE #AE5177
split-complementary
#A5AE51 #5177AE #8851AE
monochromatic
#565A2A #7D843E #A5AE51 #BBC17B #D0D5A5

Accessibility & contrast

On white

2.39
#A5AE51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#A5AE51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5AE51
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5AE51#FFFFFF#000000##000000
##A5AE511.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A748
Deuteranopia (green-blind)
#B9A856
Tritanopia (blue-blind)
#AEA599
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a5ae51;
/* rgb */ color: rgb(165, 174, 81);
/* oklch */ color: oklch(72.4% 0.118 113.9);
Tailwind
colors: {
  custom: {
    50: '#c2c685',
    500: '#a5ae51',
    950: '#000000',
  },
}
SCSS
$custom: #a5ae51;
$custom-light: #c2c685;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ae51",
  "rgb": {
    "r": 165,
    "g": 174,
    "b": 81
  },
  "hsl": {
    "h": 65.806,
    "s": 36.471,
    "l": 50
  },
  "oklch": {
    "l": 0.72404,
    "c": 0.11806,
    "h": 113.9
  },
  "luminance": 0.38866
}

Semantic roles & 50–950 ramp

primary
#A5AE51
secondary
#9D99C2
accent
#5BCC66
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #A5AE51

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

Preview Lab → · Contrast checker → · Palette generator →

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