#A4A331#A4A331

#A4A331 is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.5% C 0.132 H 108.9°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#A4A331
RGBrgb(164, 163, 49)
HSLhsl(59, 54%, 42%)
HSVhsv(59, 70%, 64%)
CMYKcmyk(0%, 0.6%, 70.1%, 35.7%)
CIE-LABlab(65.21, -13.57, 56.24)
CIE-LCHlch(65.21, 57.85, 103.57°)
OKLaboklab(69.54% -0.0429 0.1252)
OKLCHoklch(69.54% 0.132 108.9)
XYZxyz(28.9624, 34.3095, 8.0019)
Luminance0.3431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4A331 #3132A4
analogous
#A46A31 #A4A331 #6CA431
triadic
#A4A331 #31A4A3 #A331A4
tetradic
#A4A331 #31A46A #3132A4 #A4316C
square
#A4A331 #31A46A #3132A4 #A4316C
split-complementary
#A4A331 #316CA4 #6A31A4
monochromatic
#464515 #757423 #A4A331 #C9C849 #D7D679

Accessibility & contrast

On white

2.67
#A4A331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#A4A331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4A331
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4A331#FFFFFF#000000##000000
##A4A3311.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C1E
Deuteranopia (green-blind)
#B2A039
Tritanopia (blue-blind)
#B0998D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a4a331;
/* rgb */ color: rgb(164, 163, 49);
/* oklch */ color: oklch(69.5% 0.132 108.9);
Tailwind
colors: {
  custom: {
    50: '#c2be71',
    500: '#a4a331',
    950: '#000000',
  },
}
SCSS
$custom: #a4a331;
$custom-light: #c2be71;
$custom-dark: #000000;
JSON
{
  "hex": "#a4a331",
  "rgb": {
    "r": 164,
    "g": 163,
    "b": 49
  },
  "hsl": {
    "h": 59.478,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.6954,
    "c": 0.13235,
    "h": 108.9
  },
  "luminance": 0.34309
}

Semantic roles & 50–950 ramp

primary
#A4A331
secondary
#7272BF
accent
#4CDD4A
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A4A331

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

Preview Lab → · Contrast checker → · Palette generator →

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