#A5AE3C#A5AE3C

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

Color values

HEX#A5AE3C
RGBrgb(165, 174, 60)
HSLhsl(65, 49%, 46%)
HSVhsv(65, 66%, 68%)
CMYKcmyk(5.2%, 0%, 65.5%, 31.8%)
CIE-LABlab(68.46, -18.15, 55.18)
CIE-LCHlch(68.46, 58.09, 108.20°)
OKLaboklab(72.19% -0.0546 0.1248)
OKLCHoklch(72.19% 0.136 113.6)
XYZxyz(31.4695, 38.5983, 10.0665)
Luminance0.3860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AE3C #453CAE
analogous
#AE7E3C #A5AE3C #6CAE3C
triadic
#A5AE3C #3CA5AE #AE3CA5
tetradic
#A5AE3C #3CAE7E #453CAE #AE3C6C
square
#A5AE3C #3CAE7E #453CAE #AE3C6C
split-complementary
#A5AE3C #3C6CAE #7E3CAE
monochromatic
#4F531D #7A802C #A5AE3C #C0C85F #D2D88D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5AE3C#FFFFFF#000000##000000
##A5AE3C1.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)
#BAA62C
Deuteranopia (green-blind)
#BAA844
Tritanopia (blue-blind)
#B0A497
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a5ae3c;
/* rgb */ color: rgb(165, 174, 60);
/* oklch */ color: oklch(72.2% 0.136 113.6);
Tailwind
colors: {
  custom: {
    50: '#c3c678',
    500: '#a5ae3c',
    950: '#000000',
  },
}
SCSS
$custom: #a5ae3c;
$custom-light: #c3c678;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ae3c",
  "rgb": {
    "r": 165,
    "g": 174,
    "b": 60
  },
  "hsl": {
    "h": 64.737,
    "s": 48.718,
    "l": 45.882
  },
  "oklch": {
    "l": 0.72185,
    "c": 0.13621,
    "h": 113.6
  },
  "luminance": 0.38598
}

Semantic roles & 50–950 ramp

primary
#A5AE3C
secondary
#8883C2
accent
#50D85A
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#131309
muted
#82827B

Preview Lab

Preview with #A5AE3C

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

Preview Lab → · Contrast checker → · Palette generator →

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