#A5AE47#A5AE47

#A5AE47 is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.3% C 0.127 H 113.8°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#A5AE47
RGBrgb(165, 174, 71)
HSLhsl(65, 42%, 48%)
HSVhsv(65, 59%, 68%)
CMYKcmyk(5.2%, 0%, 59.2%, 31.8%)
CIE-LABlab(68.55, -17.38, 50.53)
CIE-LCHlch(68.55, 53.44, 108.97°)
OKLaboklab(72.29% -0.0513 0.1165)
OKLCHoklch(72.29% 0.127 113.8)
XYZxyz(31.7911, 38.7269, 11.7603)
Luminance0.3873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AE47 #5047AE
analogous
#AE8347 #A5AE47 #71AE47
triadic
#A5AE47 #47A5AE #AE47A5
tetradic
#A5AE47 #47AE83 #5047AE #AE4771
square
#A5AE47 #47AE83 #5047AE #AE4771
split-complementary
#A5AE47 #4771AE #8347AE
monochromatic
#535724 #7C8335 #A5AE47 #BCC46E #D0D69A

Accessibility & contrast

On white

2.40
#A5AE47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#A5AE47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5AE47
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5AE47#FFFFFF#000000##000000
##A5AE471.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA63C
Deuteranopia (green-blind)
#BAA84D
Tritanopia (blue-blind)
#AFA598
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a5ae47;
/* rgb */ color: rgb(165, 174, 71);
/* oklch */ color: oklch(72.3% 0.127 113.8);
Tailwind
colors: {
  custom: {
    50: '#c2c67e',
    500: '#a5ae47',
    950: '#000000',
  },
}
SCSS
$custom: #a5ae47;
$custom-light: #c2c67e;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ae47",
  "rgb": {
    "r": 165,
    "g": 174,
    "b": 71
  },
  "hsl": {
    "h": 65.243,
    "s": 42.041,
    "l": 48.039
  },
  "oklch": {
    "l": 0.7229,
    "c": 0.12728,
    "h": 113.8
  },
  "luminance": 0.38726
}

Semantic roles & 50–950 ramp

primary
#A5AE47
secondary
#938FC2
accent
#56D261
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A5AE47

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

Preview Lab → · Contrast checker → · Palette generator →

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