#A1A331#A1A331

#A1A331 is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.3% C 0.133 H 110.4°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#A1A331
RGBrgb(161, 163, 49)
HSLhsl(61, 54%, 42%)
HSVhsv(61, 70%, 64%)
CMYKcmyk(1.2%, 0%, 69.9%, 36.1%)
CIE-LABlab(64.96, -14.88, 55.91)
CIE-LCHlch(64.96, 57.86, 104.90°)
OKLaboklab(69.28% -0.0464 0.1246)
OKLCHoklch(69.28% 0.133 110.4)
XYZxyz(28.3505, 33.9940, 7.9732)
Luminance0.3399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A331 #3331A3
analogous
#A36C31 #A1A331 #68A331
triadic
#A1A331 #31A1A3 #A331A1
tetradic
#A1A331 #31A36C #3331A3 #A33168
square
#A1A331 #31A36C #3331A3 #A33168
split-complementary
#A1A331 #3168A3 #6C31A3
monochromatic
#444515 #737423 #A1A331 #C6C849 #D5D678

Accessibility & contrast

On white

2.69
#A1A331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#A1A331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1A331
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1A331#FFFFFF#000000##000000
##A1A3311.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a1a331;
/* rgb */ color: rgb(161, 163, 49);
/* oklch */ color: oklch(69.3% 0.133 110.4);
Tailwind
colors: {
  custom: {
    50: '#c0be71',
    500: '#a1a331',
    950: '#000000',
  },
}
SCSS
$custom: #a1a331;
$custom-light: #c0be71;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a331",
  "rgb": {
    "r": 161,
    "g": 163,
    "b": 49
  },
  "hsl": {
    "h": 61.053,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.6928,
    "c": 0.13296,
    "h": 110.4
  },
  "luminance": 0.33993
}

Semantic roles & 50–950 ramp

primary
#A1A331
secondary
#7271BF
accent
#4BDD4D
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A1A331

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

Preview Lab → · Contrast checker → · Palette generator →

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