#A5AE3B#A5AE3B

#A5AE3B is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.2% C 0.137 H 113.6°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#A5AE3B
RGBrgb(165, 174, 59)
HSLhsl(65, 49%, 46%)
HSVhsv(65, 66%, 68%)
CMYKcmyk(5.2%, 0%, 66.1%, 31.8%)
CIE-LABlab(68.45, -18.21, 55.59)
CIE-LCHlch(68.45, 58.49, 108.14°)
OKLaboklab(72.18% -0.0549 0.1255)
OKLCHoklch(72.18% 0.137 113.6)
XYZxyz(31.4434, 38.5878, 9.9286)
Luminance0.3859 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AE3B #443BAE
analogous
#AE7D3B #A5AE3B #6BAE3B
triadic
#A5AE3B #3BA5AE #AE3BA5
tetradic
#A5AE3B #3BAE7D #443BAE #AE3B6B
square
#A5AE3B #3BAE7D #443BAE #AE3B6B
split-complementary
#A5AE3B #3B6BAE #7D3BAE
monochromatic
#4E531C #7A802C #A5AE3B #C0C85E #D2D88C

Accessibility & contrast

On white

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

On black

8.72
#A5AE3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5AE3B
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5AE3B#FFFFFF#000000##000000
##A5AE3B1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA62B
Deuteranopia (green-blind)
#BAA843
Tritanopia (blue-blind)
#B0A497
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a5ae3b;
/* rgb */ color: rgb(165, 174, 59);
/* oklch */ color: oklch(72.2% 0.137 113.6);
Tailwind
colors: {
  custom: {
    50: '#c3c677',
    500: '#a5ae3b',
    950: '#000000',
  },
}
SCSS
$custom: #a5ae3b;
$custom-light: #c3c677;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ae3b",
  "rgb": {
    "r": 165,
    "g": 174,
    "b": 59
  },
  "hsl": {
    "h": 64.696,
    "s": 49.356,
    "l": 45.686
  },
  "oklch": {
    "l": 0.72176,
    "c": 0.13695,
    "h": 113.6
  },
  "luminance": 0.38587
}

Semantic roles & 50–950 ramp

primary
#A5AE3B
secondary
#8782C2
accent
#4FD95A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A5AE3B

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

Preview Lab → · Contrast checker → · Palette generator →

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