#A1A431#A1A431

#A1A431 is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.5% C 0.134 H 110.9°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#A1A431
RGBrgb(161, 164, 49)
HSLhsl(62, 54%, 42%)
HSVhsv(62, 70%, 64%)
CMYKcmyk(1.8%, 0%, 70.1%, 35.7%)
CIE-LABlab(65.24, -15.40, 56.19)
CIE-LCHlch(65.24, 58.26, 105.33°)
OKLaboklab(69.51% -0.0478 0.1252)
OKLCHoklch(69.51% 0.134 110.9)
XYZxyz(28.5287, 34.3505, 8.0326)
Luminance0.3435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A431 #3431A4
analogous
#A46E31 #A1A431 #68A431
triadic
#A1A431 #31A1A4 #A431A1
tetradic
#A1A431 #31A46E #3431A4 #A43168
square
#A1A431 #31A46E #3431A4 #A43168
split-complementary
#A1A431 #3168A4 #6E31A4
monochromatic
#444615 #737523 #A1A431 #C5C949 #D4D779

Accessibility & contrast

On white

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

On black

7.87
#A1A431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1A431
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1A431#FFFFFF#000000##000000
##A1A4311.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a1a431;
/* rgb */ color: rgb(161, 164, 49);
/* oklch */ color: oklch(69.5% 0.134 110.9);
Tailwind
colors: {
  custom: {
    50: '#c0be71',
    500: '#a1a431',
    950: '#000000',
  },
}
SCSS
$custom: #a1a431;
$custom-light: #c0be71;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a431",
  "rgb": {
    "r": 161,
    "g": 164,
    "b": 49
  },
  "hsl": {
    "h": 61.565,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.69505,
    "c": 0.13402,
    "h": 110.9
  },
  "luminance": 0.3435
}

Semantic roles & 50–950 ramp

primary
#A1A431
secondary
#7472BF
accent
#4ADD4E
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A1A431

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

Preview Lab → · Contrast checker → · Palette generator →

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