#A4AB2A#A4AB2A

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

Color values

HEX#A4AB2A
RGBrgb(164, 171, 42)
HSLhsl(63, 61%, 42%)
HSVhsv(63, 75%, 67%)
CMYKcmyk(4.1%, 0%, 75.4%, 32.9%)
CIE-LABlab(67.42, -18.02, 60.86)
CIE-LCHlch(67.42, 63.47, 106.50°)
OKLaboklab(71.29% -0.056 0.1337)
OKLCHoklch(71.29% 0.145 112.7)
XYZxyz(30.2916, 37.1862, 7.7720)
Luminance0.3719 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4AB2A #312AAB
analogous
#AB722A #A4AB2A #64AB2A
triadic
#A4AB2A #2AA4AB #AB2AA4
tetradic
#A4AB2A #2AAB72 #312AAB #AB2A64
square
#A4AB2A #2AAB72 #312AAB #AB2A64
split-complementary
#A4AB2A #2A64AB #722AAB
monochromatic
#464912 #757A1E #A4AB2A #C9D142 #D7DD73

Accessibility & contrast

On white

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

On black

8.44
#A4AB2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4AB2A
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4AB2A#FFFFFF#000000##000000
##A4AB2A1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A30B
Deuteranopia (green-blind)
#B8A635
Tritanopia (blue-blind)
#AFA093
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a4ab2a;
/* rgb */ color: rgb(164, 171, 42);
/* oklch */ color: oklch(71.3% 0.145 112.7);
Tailwind
colors: {
  custom: {
    50: '#c2c36e',
    500: '#a4ab2a',
    950: '#000000',
  },
}
SCSS
$custom: #a4ab2a;
$custom-light: #c2c36e;
$custom-dark: #000000;
JSON
{
  "hex": "#a4ab2a",
  "rgb": {
    "r": 164,
    "g": 171,
    "b": 42
  },
  "hsl": {
    "h": 63.256,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.71293,
    "c": 0.14496,
    "h": 112.7
  },
  "luminance": 0.37186
}

Semantic roles & 50–950 ramp

primary
#A4AB2A
secondary
#726DC4
accent
#44E44D
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A4AB2A

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

Preview Lab → · Contrast checker → · Palette generator →

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