#A1A423#A1A423

#A1A423 is a light, vivid yellow. Relative luminance 0.342; OKLCH L 69.4% C 0.142 H 111.0°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#A1A423
RGBrgb(161, 164, 35)
HSLhsl(61, 65%, 39%)
HSVhsv(61, 79%, 64%)
CMYKcmyk(1.8%, 0%, 78.7%, 35.7%)
CIE-LABlab(65.16, -16.04, 60.93)
CIE-LCHlch(65.16, 63.01, 104.75°)
OKLaboklab(69.42% -0.0509 0.1327)
OKLCHoklch(69.42% 0.142 111)
XYZxyz(28.2778, 34.2501, 6.7111)
Luminance0.3425 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A423 #2623A4
analogous
#A46723 #A1A423 #61A423
triadic
#A1A423 #23A1A4 #A423A1
tetradic
#A1A423 #23A467 #2623A4 #A42361
square
#A1A423 #23A467 #2623A4 #A42361
split-complementary
#A1A423 #2361A4 #6723A4
monochromatic
#3E3F0D #6F7218 #A1A423 #CFD331 #DBDE64

Accessibility & contrast

On white

2.68
#A1A423 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#A1A423 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1A423
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1A423#FFFFFF#000000##000000
##A1A4231.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#B2A02F
Tritanopia (blue-blind)
#AD998C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a1a423;
/* rgb */ color: rgb(161, 164, 35);
/* oklch */ color: oklch(69.4% 0.142 111.0);
Tailwind
colors: {
  custom: {
    50: '#c1be6a',
    500: '#a1a423',
    950: '#000000',
  },
}
SCSS
$custom: #a1a423;
$custom-light: #c1be6a;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a423",
  "rgb": {
    "r": 161,
    "g": 164,
    "b": 35
  },
  "hsl": {
    "h": 61.395,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.69416,
    "c": 0.14212,
    "h": 111
  },
  "luminance": 0.34249
}

Semantic roles & 50–950 ramp

primary
#A1A423
secondary
#6260C3
accent
#40E844
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A1A423

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

Preview Lab → · Contrast checker → · Palette generator →

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