#A5AE37#A5AE37

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

Color values

HEX#A5AE37
RGBrgb(165, 174, 55)
HSLhsl(65, 52%, 45%)
HSVhsv(65, 68%, 68%)
CMYKcmyk(5.2%, 0%, 68.4%, 31.8%)
CIE-LABlab(68.42, -18.45, 57.15)
CIE-LCHlch(68.42, 60.06, 107.89°)
OKLaboklab(72.14% -0.056 0.1281)
OKLCHoklch(72.14% 0.14 113.6)
XYZxyz(31.3436, 38.5479, 9.4031)
Luminance0.3855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AE37 #4037AE
analogous
#AE7C37 #A5AE37 #69AE37
triadic
#A5AE37 #37A5AE #AE37A5
tetradic
#A5AE37 #37AE7C #4037AE #AE3769
square
#A5AE37 #37AE7C #4037AE #AE3769
split-complementary
#A5AE37 #3769AE #7C37AE
monochromatic
#4D511A #797F28 #A5AE37 #C2CA58 #D3D986

Accessibility & contrast

On white

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

On black

8.71
#A5AE37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5AE37
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5AE37#FFFFFF#000000##000000
##A5AE371.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA625
Deuteranopia (green-blind)
#BAA840
Tritanopia (blue-blind)
#B0A496
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a5ae37;
/* rgb */ color: rgb(165, 174, 55);
/* oklch */ color: oklch(72.1% 0.140 113.6);
Tailwind
colors: {
  custom: {
    50: '#c3c675',
    500: '#a5ae37',
    950: '#000000',
  },
}
SCSS
$custom: #a5ae37;
$custom-light: #c3c675;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ae37",
  "rgb": {
    "r": 165,
    "g": 174,
    "b": 55
  },
  "hsl": {
    "h": 64.538,
    "s": 51.965,
    "l": 44.902
  },
  "oklch": {
    "l": 0.72144,
    "c": 0.13983,
    "h": 113.6
  },
  "luminance": 0.38547
}

Semantic roles & 50–950 ramp

primary
#A5AE37
secondary
#837EC3
accent
#4CDB57
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A5AE37

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

Preview Lab → · Contrast checker → · Palette generator →

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