#A7AE31#A7AE31

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

Color values

HEX#A7AE31
RGBrgb(167, 174, 49)
HSLhsl(63, 56%, 44%)
HSVhsv(63, 72%, 68%)
CMYKcmyk(4%, 0%, 71.8%, 31.8%)
CIE-LABlab(68.54, -17.92, 59.58)
CIE-LCHlch(68.54, 62.22, 106.74°)
OKLaboklab(72.27% -0.0552 0.1322)
OKLCHoklch(72.27% 0.143 112.7)
XYZxyz(31.6278, 38.7101, 8.7108)
Luminance0.3871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AE31 #3831AE
analogous
#AE7631 #A7AE31 #68AE31
triadic
#A7AE31 #31A7AE #AE31A7
tetradic
#A7AE31 #31AE76 #3831AE #AE3168
square
#A7AE31 #31AE76 #3831AE #AE3168
split-complementary
#A7AE31 #3168AE #7631AE
monochromatic
#4B4E16 #797E24 #A7AE31 #C6CD4F #D6DB7F

Accessibility & contrast

On white

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

On black

8.74
#A7AE31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7AE31
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7AE31#FFFFFF#000000##000000
##A7AE311.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7ae31;
/* rgb */ color: rgb(167, 174, 49);
/* oklch */ color: oklch(72.3% 0.143 112.7);
Tailwind
colors: {
  custom: {
    50: '#c4c672',
    500: '#a7ae31',
    950: '#000000',
  },
}
SCSS
$custom: #a7ae31;
$custom-light: #c4c672;
$custom-dark: #000000;
JSON
{
  "hex": "#a7ae31",
  "rgb": {
    "r": 167,
    "g": 174,
    "b": 49
  },
  "hsl": {
    "h": 63.36,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.72265,
    "c": 0.14322,
    "h": 112.7
  },
  "luminance": 0.38709
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A7AE31

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

Preview Lab → · Contrast checker → · Palette generator →

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