#A4AA31#A4AA31

#A4AA31 is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.1% C 0.140 H 112.3°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#A4AA31
RGBrgb(164, 170, 49)
HSLhsl(63, 55%, 43%)
HSVhsv(63, 71%, 67%)
CMYKcmyk(3.5%, 0%, 71.2%, 33.3%)
CIE-LABlab(67.18, -17.18, 58.17)
CIE-LCHlch(67.18, 60.65, 106.45°)
OKLaboklab(71.11% -0.053 0.1293)
OKLCHoklch(71.11% 0.14 112.3)
XYZxyz(30.2399, 36.8644, 8.4277)
Luminance0.3686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4AA31 #3731AA
analogous
#AA7331 #A4AA31 #68AA31
triadic
#A4AA31 #31A4AA #AA31A4
tetradic
#A4AA31 #31AA73 #3731AA #AA3168
square
#A4AA31 #31AA73 #3731AA #AA3168
split-complementary
#A4AA31 #3168AA #7331AA
monochromatic
#484B16 #767A23 #A4AA31 #C5CC4D #D5D97C

Accessibility & contrast

On white

2.51
#A4AA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#A4AA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4AA31
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4AA31#FFFFFF#000000##000000
##A4AA311.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A21C
Deuteranopia (green-blind)
#B7A53A
Tritanopia (blue-blind)
#AFA092
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a4aa31;
/* rgb */ color: rgb(164, 170, 49);
/* oklch */ color: oklch(71.1% 0.140 112.3);
Tailwind
colors: {
  custom: {
    50: '#c2c371',
    500: '#a4aa31',
    950: '#000000',
  },
}
SCSS
$custom: #a4aa31;
$custom-light: #c2c371;
$custom-dark: #000000;
JSON
{
  "hex": "#a4aa31",
  "rgb": {
    "r": 164,
    "g": 170,
    "b": 49
  },
  "hsl": {
    "h": 62.975,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.71113,
    "c": 0.13972,
    "h": 112.3
  },
  "luminance": 0.36864
}

Semantic roles & 50–950 ramp

primary
#A4AA31
secondary
#7975C2
accent
#49DF51
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A4AA31

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

Preview Lab → · Contrast checker → · Palette generator →

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