#A7AC31#A7AC31

#A7AC31 is a light, vivid yellow. Relative luminance 0.379; OKLCH L 71.8% C 0.141 H 111.8°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#A7AC31
RGBrgb(167, 172, 49)
HSLhsl(62, 56%, 43%)
HSVhsv(62, 72%, 67%)
CMYKcmyk(2.9%, 0%, 71.5%, 32.5%)
CIE-LABlab(67.98, -16.90, 59.04)
CIE-LCHlch(67.98, 61.41, 105.98°)
OKLaboklab(71.82% -0.0524 0.131)
OKLCHoklch(71.82% 0.141 111.8)
XYZxyz(31.2443, 37.9431, 8.5830)
Luminance0.3794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AC31 #3631AC
analogous
#AC7331 #A7AC31 #69AC31
triadic
#A7AC31 #31A7AC #AC31A7
tetradic
#A7AC31 #31AC73 #3631AC #AC3169
square
#A7AC31 #31AC73 #3631AC #AC3169
split-complementary
#A7AC31 #3169AC #7331AC
monochromatic
#4B4D16 #797C23 #A7AC31 #C7CC4E #D6DA7D

Accessibility & contrast

On white

2.45
#A7AC31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#A7AC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7AC31
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7AC31#FFFFFF#000000##000000
##A7AC311.002.458.598.59
#FFFFFF2.451.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A41B
Deuteranopia (green-blind)
#BAA73A
Tritanopia (blue-blind)
#B3A194
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a7ac31;
/* rgb */ color: rgb(167, 172, 49);
/* oklch */ color: oklch(71.8% 0.141 111.8);
Tailwind
colors: {
  custom: {
    50: '#c4c472',
    500: '#a7ac31',
    950: '#000000',
  },
}
SCSS
$custom: #a7ac31;
$custom-light: #c4c472;
$custom-dark: #000000;
JSON
{
  "hex": "#a7ac31",
  "rgb": {
    "r": 167,
    "g": 172,
    "b": 49
  },
  "hsl": {
    "h": 62.439,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.71815,
    "c": 0.14109,
    "h": 111.8
  },
  "luminance": 0.37942
}

Semantic roles & 50–950 ramp

primary
#A7AC31
secondary
#7976C3
accent
#49DF4F
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A7AC31

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

Preview Lab → · Contrast checker → · Palette generator →

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