#A1A325#A1A325

#A1A325 is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.2% C 0.140 H 110.5°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#A1A325
RGBrgb(161, 163, 37)
HSLhsl(61, 63%, 39%)
HSVhsv(61, 77%, 64%)
CMYKcmyk(1.2%, 0%, 77.3%, 36.1%)
CIE-LABlab(64.89, -15.45, 60.06)
CIE-LCHlch(64.89, 62.02, 104.42°)
OKLaboklab(69.2% -0.0491 0.1312)
OKLCHoklch(69.2% 0.14 110.5)
XYZxyz(28.1301, 33.9058, 6.8126)
Luminance0.3391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A325 #2725A3
analogous
#A36625 #A1A325 #62A325
triadic
#A1A325 #25A1A3 #A325A1
tetradic
#A1A325 #25A366 #2725A3 #A32562
square
#A1A325 #25A366 #2725A3 #A32562
split-complementary
#A1A325 #2562A3 #6625A3
monochromatic
#3E3F0E #70711A #A1A325 #CED134 #DADC66

Accessibility & contrast

On white

2.70
#A1A325 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#A1A325 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1A325
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1A325#FFFFFF#000000##000000
##A1A3251.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C02
Deuteranopia (green-blind)
#B19F30
Tritanopia (blue-blind)
#AD988C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a1a325;
/* rgb */ color: rgb(161, 163, 37);
/* oklch */ color: oklch(69.2% 0.140 110.5);
Tailwind
colors: {
  custom: {
    50: '#c0be6b',
    500: '#a1a325',
    950: '#000000',
  },
}
SCSS
$custom: #a1a325;
$custom-light: #c0be6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a325",
  "rgb": {
    "r": 161,
    "g": 163,
    "b": 37
  },
  "hsl": {
    "h": 60.952,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.69201,
    "c": 0.14009,
    "h": 110.5
  },
  "luminance": 0.33905
}

Semantic roles & 50–950 ramp

primary
#A1A325
secondary
#6362C2
accent
#42E644
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A1A325

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

Preview Lab → · Contrast checker → · Palette generator →

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