#A5AE2E#A5AE2E

#A5AE2E 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#A5AE2E
RGBrgb(165, 174, 46)
HSLhsl(64, 58%, 43%)
HSVhsv(64, 74%, 68%)
CMYKcmyk(5.2%, 0%, 73.6%, 31.8%)
CIE-LABlab(68.37, -18.92, 60.42)
CIE-LCHlch(68.37, 63.32, 107.39°)
OKLaboklab(72.08% -0.0582 0.1335)
OKLCHoklch(72.08% 0.146 113.5)
XYZxyz(31.1472, 38.4693, 8.3688)
Luminance0.3847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AE2E #372EAE
analogous
#AE772E #A5AE2E #65AE2E
triadic
#A5AE2E #2EA5AE #AE2EA5
tetradic
#A5AE2E #2EAE77 #372EAE #AE2E65
square
#A5AE2E #2EAE77 #372EAE #AE2E65
split-complementary
#A5AE2E #2E65AE #772EAE
monochromatic
#494D14 #777E21 #A5AE2E #C6CF4A #D5DC7A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5AE2E#FFFFFF#000000##000000
##A5AE2E1.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)
#BBA514
Deuteranopia (green-blind)
#BBA838
Tritanopia (blue-blind)
#B0A395
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a5ae2e;
/* rgb */ color: rgb(165, 174, 46);
/* oklch */ color: oklch(72.1% 0.146 113.5);
Tailwind
colors: {
  custom: {
    50: '#c3c670',
    500: '#a5ae2e',
    950: '#000000',
  },
}
SCSS
$custom: #a5ae2e;
$custom-light: #c3c670;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ae2e",
  "rgb": {
    "r": 165,
    "g": 174,
    "b": 46
  },
  "hsl": {
    "h": 64.219,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.72079,
    "c": 0.1456,
    "h": 113.5
  },
  "luminance": 0.38469
}

Semantic roles & 50–950 ramp

primary
#A5AE2E
secondary
#7974C4
accent
#46E151
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5AE2E

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

Preview Lab → · Contrast checker → · Palette generator →

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