#A4AB31#A4AB31

#A4AB31 is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.3% C 0.141 H 112.7°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#A4AB31
RGBrgb(164, 171, 49)
HSLhsl(63, 55%, 43%)
HSVhsv(63, 71%, 67%)
CMYKcmyk(4.1%, 0%, 71.3%, 32.9%)
CIE-LABlab(67.46, -17.69, 58.45)
CIE-LCHlch(67.46, 61.06, 106.84°)
OKLaboklab(71.34% -0.0544 0.1299)
OKLCHoklch(71.34% 0.141 112.7)
XYZxyz(30.4281, 37.2408, 8.4904)
Luminance0.3724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4AB31 #3831AB
analogous
#AB7531 #A4AB31 #67AB31
triadic
#A4AB31 #31A4AB #AB31A4
tetradic
#A4AB31 #31AB75 #3831AB #AB3167
square
#A4AB31 #31AB75 #3831AB #AB3167
split-complementary
#A4AB31 #3167AB #7531AB
monochromatic
#494C16 #767B23 #A4AB31 #C5CC4D #D4DA7D

Accessibility & contrast

On white

2.49
#A4AB31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#A4AB31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4AB31
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4AB31#FFFFFF#000000##000000
##A4AB311.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A31B
Deuteranopia (green-blind)
#B8A63A
Tritanopia (blue-blind)
#AFA193
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a4ab31;
/* rgb */ color: rgb(164, 171, 49);
/* oklch */ color: oklch(71.3% 0.141 112.7);
Tailwind
colors: {
  custom: {
    50: '#c2c371',
    500: '#a4ab31',
    950: '#000000',
  },
}
SCSS
$custom: #a4ab31;
$custom-light: #c2c371;
$custom-dark: #000000;
JSON
{
  "hex": "#a4ab31",
  "rgb": {
    "r": 164,
    "g": 171,
    "b": 49
  },
  "hsl": {
    "h": 63.443,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.71339,
    "c": 0.1408,
    "h": 112.7
  },
  "luminance": 0.3724
}

Semantic roles & 50–950 ramp

primary
#A4AB31
secondary
#7A75C2
accent
#49DF52
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A4AB31

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

Preview Lab → · Contrast checker → · Palette generator →

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