#A5AE2D#A5AE2D

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

Color values

HEX#A5AE2D
RGBrgb(165, 174, 45)
HSLhsl(64, 59%, 43%)
HSVhsv(64, 74%, 68%)
CMYKcmyk(5.2%, 0%, 74.1%, 31.8%)
CIE-LABlab(68.36, -18.97, 60.76)
CIE-LCHlch(68.36, 63.65, 107.34°)
OKLaboklab(72.07% -0.0584 0.134)
OKLCHoklch(72.07% 0.146 113.5)
XYZxyz(31.1277, 38.4616, 8.2662)
Luminance0.3846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AE2D #362DAE
analogous
#AE762D #A5AE2D #64AE2D
triadic
#A5AE2D #2DA5AE #AE2DA5
tetradic
#A5AE2D #2DAE76 #362DAE #AE2D64
square
#A5AE2D #2DAE76 #362DAE #AE2D64
split-complementary
#A5AE2D #2D64AE #762DAE
monochromatic
#494D14 #777D20 #A5AE2D #C6D048 #D5DC79

Accessibility & contrast

On white

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

On black

8.69
#A5AE2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5AE2D
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5AE2D#FFFFFF#000000##000000
##A5AE2D1.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA511
Deuteranopia (green-blind)
#BBA838
Tritanopia (blue-blind)
#B0A395
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a5ae2d;
/* rgb */ color: rgb(165, 174, 45);
/* oklch */ color: oklch(72.1% 0.146 113.5);
Tailwind
colors: {
  custom: {
    50: '#c3c670',
    500: '#a5ae2d',
    950: '#000000',
  },
}
SCSS
$custom: #a5ae2d;
$custom-light: #c3c670;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ae2d",
  "rgb": {
    "r": 165,
    "g": 174,
    "b": 45
  },
  "hsl": {
    "h": 64.186,
    "s": 58.904,
    "l": 42.941
  },
  "oklch": {
    "l": 0.72073,
    "c": 0.14619,
    "h": 113.5
  },
  "luminance": 0.38461
}

Semantic roles & 50–950 ramp

primary
#A5AE2D
secondary
#7872C4
accent
#46E251
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5AE2D

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

Preview Lab → · Contrast checker → · Palette generator →

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