#A4AC31#A4AC31

#A4AC31 is a light, vivid yellow. Relative luminance 0.376; OKLCH L 71.6% C 0.142 H 113.2°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#A4AC31
RGBrgb(164, 172, 49)
HSLhsl(64, 56%, 43%)
HSVhsv(64, 72%, 67%)
CMYKcmyk(4.7%, 0%, 71.5%, 32.5%)
CIE-LABlab(67.74, -18.19, 58.72)
CIE-LCHlch(67.74, 61.48, 107.21°)
OKLaboklab(71.57% -0.0558 0.1305)
OKLCHoklch(71.57% 0.142 113.2)
XYZxyz(30.6177, 37.6200, 8.5536)
Luminance0.3762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4AC31 #3931AC
analogous
#AC7631 #A4AC31 #67AC31
triadic
#A4AC31 #31A4AC #AC31A4
tetradic
#A4AC31 #31AC76 #3931AC #AC3167
square
#A4AC31 #31AC76 #3931AC #AC3167
split-complementary
#A4AC31 #3167AC #7631AC
monochromatic
#494D16 #777C23 #A4AC31 #C4CC4E #D4DA7D

Accessibility & contrast

On white

2.46
#A4AC31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#A4AC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4AC31
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4AC31#FFFFFF#000000##000000
##A4AC311.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A41B
Deuteranopia (green-blind)
#B9A63B
Tritanopia (blue-blind)
#AFA294
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a4ac31;
/* rgb */ color: rgb(164, 172, 49);
/* oklch */ color: oklch(71.6% 0.142 113.2);
Tailwind
colors: {
  custom: {
    50: '#c2c472',
    500: '#a4ac31',
    950: '#000000',
  },
}
SCSS
$custom: #a4ac31;
$custom-light: #c2c472;
$custom-dark: #000000;
JSON
{
  "hex": "#a4ac31",
  "rgb": {
    "r": 164,
    "g": 172,
    "b": 49
  },
  "hsl": {
    "h": 63.902,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.71565,
    "c": 0.14188,
    "h": 113.2
  },
  "luminance": 0.37619
}

Semantic roles & 50–950 ramp

primary
#A4AC31
secondary
#7B76C3
accent
#49DF53
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A4AC31

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

Preview Lab → · Contrast checker → · Palette generator →

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