#A5AE2C#A5AE2C

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

Color values

HEX#A5AE2C
RGBrgb(165, 174, 44)
HSLhsl(64, 60%, 43%)
HSVhsv(64, 75%, 68%)
CMYKcmyk(5.2%, 0%, 74.7%, 31.8%)
CIE-LABlab(68.35, -19.02, 61.10)
CIE-LCHlch(68.35, 63.99, 107.29°)
OKLaboklab(72.07% -0.0586 0.1345)
OKLCHoklch(72.07% 0.147 113.5)
XYZxyz(31.1087, 38.4539, 8.1660)
Luminance0.3845 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AE2C #352CAE
analogous
#AE762C #A5AE2C #64AE2C
triadic
#A5AE2C #2CA5AE #AE2CA5
tetradic
#A5AE2C #2CAE76 #352CAE #AE2C64
square
#A5AE2C #2CAE76 #352CAE #AE2C64
split-complementary
#A5AE2C #2C64AE #762CAE
monochromatic
#484C13 #777D20 #A5AE2C #C7D047 #D6DD78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5AE2C#FFFFFF#000000##000000
##A5AE2C1.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)
#BBA50F
Deuteranopia (green-blind)
#BBA837
Tritanopia (blue-blind)
#B0A395
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a5ae2c;
/* rgb */ color: rgb(165, 174, 44);
/* oklch */ color: oklch(72.1% 0.147 113.5);
Tailwind
colors: {
  custom: {
    50: '#c3c66f',
    500: '#a5ae2c',
    950: '#000000',
  },
}
SCSS
$custom: #a5ae2c;
$custom-light: #c3c66f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ae2c",
  "rgb": {
    "r": 165,
    "g": 174,
    "b": 44
  },
  "hsl": {
    "h": 64.154,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.72067,
    "c": 0.14675,
    "h": 113.5
  },
  "luminance": 0.38453
}

Semantic roles & 50–950 ramp

primary
#A5AE2C
secondary
#7771C5
accent
#45E350
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5AE2C

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

Preview Lab → · Contrast checker → · Palette generator →

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