#A5AE27#A5AE27

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

Color values

HEX#A5AE27
RGBrgb(165, 174, 39)
HSLhsl(64, 63%, 42%)
HSVhsv(64, 78%, 68%)
CMYKcmyk(5.2%, 0%, 77.6%, 31.8%)
CIE-LABlab(68.33, -19.23, 62.68)
CIE-LCHlch(68.33, 65.57, 107.06°)
OKLaboklab(72.04% -0.0596 0.137)
OKLCHoklch(72.04% 0.149 113.5)
XYZxyz(31.0203, 38.4186, 7.7005)
Luminance0.3842 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AE27 #3027AE
analogous
#AE7427 #A5AE27 #62AE27
triadic
#A5AE27 #27A5AE #AE27A5
tetradic
#A5AE27 #27AE74 #3027AE #AE2762
square
#A5AE27 #27AE74 #3027AE #AE2762
split-complementary
#A5AE27 #2762AE #7427AE
monochromatic
#464A11 #767C1C #A5AE27 #CAD43E #D8DF70

Accessibility & contrast

On white

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

On black

8.68
#A5AE27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5AE27
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5AE27#FFFFFF#000000##000000
##A5AE271.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA500
Deuteranopia (green-blind)
#BBA833
Tritanopia (blue-blind)
#B0A395
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a5ae27;
/* rgb */ color: rgb(165, 174, 39);
/* oklch */ color: oklch(72.0% 0.149 113.5);
Tailwind
colors: {
  custom: {
    50: '#c3c66d',
    500: '#a5ae27',
    950: '#000000',
  },
}
SCSS
$custom: #a5ae27;
$custom-light: #c3c66d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ae27",
  "rgb": {
    "r": 165,
    "g": 174,
    "b": 39
  },
  "hsl": {
    "h": 64,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.72038,
    "c": 0.14943,
    "h": 113.5
  },
  "luminance": 0.38418
}

Semantic roles & 50–950 ramp

primary
#A5AE27
secondary
#716BC6
accent
#41E64C
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A5AE27

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

Preview Lab → · Contrast checker → · Palette generator →

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