#A8AE31#A8AE31

#A8AE31 is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.3% C 0.143 H 112.2°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#A8AE31
RGBrgb(168, 174, 49)
HSLhsl(63, 56%, 44%)
HSVhsv(63, 72%, 68%)
CMYKcmyk(3.4%, 0%, 71.8%, 31.8%)
CIE-LABlab(68.62, -17.49, 59.69)
CIE-LCHlch(68.62, 62.20, 106.33°)
OKLaboklab(72.35% -0.054 0.1324)
OKLCHoklch(72.35% 0.143 112.2)
XYZxyz(31.8399, 38.8194, 8.7208)
Luminance0.3882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8AE31 #3731AE
analogous
#AE7531 #A8AE31 #69AE31
triadic
#A8AE31 #31A8AE #AE31A8
tetradic
#A8AE31 #31AE75 #3731AE #AE3169
square
#A8AE31 #31AE75 #3731AE #AE3169
split-complementary
#A8AE31 #3169AE #7531AE
monochromatic
#4C4E16 #7A7E24 #A8AE31 #C7CD4F #D6DB7F

Accessibility & contrast

On white

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

On black

8.76
#A8AE31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8AE31
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8AE31#FFFFFF#000000##000000
##A8AE311.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA61A
Deuteranopia (green-blind)
#BCA93B
Tritanopia (blue-blind)
#B4A396
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a8ae31;
/* rgb */ color: rgb(168, 174, 49);
/* oklch */ color: oklch(72.3% 0.143 112.2);
Tailwind
colors: {
  custom: {
    50: '#c5c672',
    500: '#a8ae31',
    950: '#000000',
  },
}
SCSS
$custom: #a8ae31;
$custom-light: #c5c672;
$custom-dark: #000000;
JSON
{
  "hex": "#a8ae31",
  "rgb": {
    "r": 168,
    "g": 174,
    "b": 49
  },
  "hsl": {
    "h": 62.88,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.72348,
    "c": 0.14296,
    "h": 112.2
  },
  "luminance": 0.38819
}

Semantic roles & 50–950 ramp

primary
#A8AE31
secondary
#7B77C4
accent
#48DF50
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A8AE31

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

Preview Lab → · Contrast checker → · Palette generator →

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