#A5AE2A#A5AE2A

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

Color values

HEX#A5AE2A
RGBrgb(165, 174, 42)
HSLhsl(64, 61%, 42%)
HSVhsv(64, 76%, 68%)
CMYKcmyk(5.2%, 0%, 75.9%, 31.8%)
CIE-LABlab(68.34, -19.11, 61.75)
CIE-LCHlch(68.34, 64.64, 107.19°)
OKLaboklab(72.06% -0.059 0.1356)
OKLCHoklch(72.06% 0.148 113.5)
XYZxyz(31.0720, 38.4393, 7.9727)
Luminance0.3844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AE2A #332AAE
analogous
#AE752A #A5AE2A #63AE2A
triadic
#A5AE2A #2AA5AE #AE2AA5
tetradic
#A5AE2A #2AAE75 #332AAE #AE2A63
square
#A5AE2A #2AAE75 #332AAE #AE2A63
split-complementary
#A5AE2A #2A63AE #752AAE
monochromatic
#484B12 #767D1E #A5AE2A #C8D243 #D6DE75

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5AE2A#FFFFFF#000000##000000
##A5AE2A1.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)
#BBA508
Deuteranopia (green-blind)
#BBA835
Tritanopia (blue-blind)
#B0A395
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a5ae2a;
/* rgb */ color: rgb(165, 174, 42);
/* oklch */ color: oklch(72.1% 0.148 113.5);
Tailwind
colors: {
  custom: {
    50: '#c3c66e',
    500: '#a5ae2a',
    950: '#000000',
  },
}
SCSS
$custom: #a5ae2a;
$custom-light: #c3c66e;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ae2a",
  "rgb": {
    "r": 165,
    "g": 174,
    "b": 42
  },
  "hsl": {
    "h": 64.091,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.72055,
    "c": 0.14786,
    "h": 113.5
  },
  "luminance": 0.38439
}

Semantic roles & 50–950 ramp

primary
#A5AE2A
secondary
#756FC5
accent
#44E44F
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5AE2A

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

Preview Lab → · Contrast checker → · Palette generator →

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