#A4AE31#A4AE31

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

Color values

HEX#A4AE31
RGBrgb(164, 174, 49)
HSLhsl(65, 56%, 44%)
HSVhsv(65, 72%, 68%)
CMYKcmyk(5.7%, 0%, 71.8%, 31.8%)
CIE-LABlab(68.30, -19.20, 59.27)
CIE-LCHlch(68.30, 62.31, 107.95°)
OKLaboklab(72.02% -0.0586 0.1316)
OKLCHoklch(72.02% 0.144 114)
XYZxyz(31.0012, 38.3870, 8.6815)
Luminance0.3839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4AE31 #3B31AE
analogous
#AE7931 #A4AE31 #65AE31
triadic
#A4AE31 #31A4AE #AE31A4
tetradic
#A4AE31 #31AE79 #3B31AE #AE3165
square
#A4AE31 #31AE79 #3B31AE #AE3165
split-complementary
#A4AE31 #3165AE #7931AE
monochromatic
#4A4E16 #777E24 #A4AE31 #C3CD4F #D3DB7F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A4AE31#FFFFFF#000000##000000
##A4AE311.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)
#BBA51A
Deuteranopia (green-blind)
#BAA83B
Tritanopia (blue-blind)
#AFA496
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a4ae31;
/* rgb */ color: rgb(164, 174, 49);
/* oklch */ color: oklch(72.0% 0.144 114.0);
Tailwind
colors: {
  custom: {
    50: '#c2c672',
    500: '#a4ae31',
    950: '#000000',
  },
}
SCSS
$custom: #a4ae31;
$custom-light: #c2c672;
$custom-dark: #000000;
JSON
{
  "hex": "#a4ae31",
  "rgb": {
    "r": 164,
    "g": 174,
    "b": 49
  },
  "hsl": {
    "h": 64.8,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.72018,
    "c": 0.14407,
    "h": 114
  },
  "luminance": 0.38386
}

Semantic roles & 50–950 ramp

primary
#A4AE31
secondary
#7D77C4
accent
#48DF55
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A4AE31

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

Preview Lab → · Contrast checker → · Palette generator →

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