#A4A031#A4A031

#A4A031 is a light, vivid yellow. Relative luminance 0.333; OKLCH L 68.9% C 0.129 H 107.3°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#A4A031
RGBrgb(164, 160, 49)
HSLhsl(58, 54%, 42%)
HSVhsv(58, 70%, 64%)
CMYKcmyk(0%, 2.4%, 70.1%, 35.7%)
CIE-LABlab(64.37, -12.00, 55.41)
CIE-LCHlch(64.37, 56.69, 102.22°)
OKLaboklab(68.87% -0.0385 0.1235)
OKLCHoklch(68.87% 0.129 107.3)
XYZxyz(28.4361, 33.2568, 7.8264)
Luminance0.3326 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4A031 #3135A4
analogous
#A46731 #A4A031 #6FA431
triadic
#A4A031 #31A4A0 #A031A4
tetradic
#A4A031 #31A467 #3135A4 #A4316F
square
#A4A031 #31A467 #3135A4 #A4316F
split-complementary
#A4A031 #316FA4 #6731A4
monochromatic
#464415 #757223 #A4A031 #C9C449 #D7D479

Accessibility & contrast

On white

2.74
#A4A031 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#A4A031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4A031
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4A031#FFFFFF#000000##000000
##A4A0311.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A1F
Deuteranopia (green-blind)
#B09E39
Tritanopia (blue-blind)
#B0958A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a4a031;
/* rgb */ color: rgb(164, 160, 49);
/* oklch */ color: oklch(68.9% 0.129 107.3);
Tailwind
colors: {
  custom: {
    50: '#c2bb70',
    500: '#a4a031',
    950: '#000000',
  },
}
SCSS
$custom: #a4a031;
$custom-light: #c2bb70;
$custom-dark: #000000;
JSON
{
  "hex": "#a4a031",
  "rgb": {
    "r": 164,
    "g": 160,
    "b": 49
  },
  "hsl": {
    "h": 57.913,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.6887,
    "c": 0.12931,
    "h": 107.3
  },
  "luminance": 0.33256
}

Semantic roles & 50–950 ramp

primary
#A4A031
secondary
#7274BF
accent
#50DD4A
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #A4A031

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

Preview Lab → · Contrast checker → · Palette generator →

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