#A1A623#A1A623

#A1A623 is a light, vivid yellow. Relative luminance 0.350; OKLCH L 69.9% C 0.144 H 111.9°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#A1A623
RGBrgb(161, 166, 35)
HSLhsl(62, 65%, 39%)
HSVhsv(62, 79%, 65%)
CMYKcmyk(3%, 0%, 78.9%, 34.9%)
CIE-LABlab(65.73, -17.07, 61.44)
CIE-LCHlch(65.73, 63.76, 105.53°)
OKLaboklab(69.87% -0.0537 0.1338)
OKLCHoklch(69.87% 0.144 111.9)
XYZxyz(28.6385, 34.9716, 6.8314)
Luminance0.3497 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A623 #2823A6
analogous
#A66A23 #A1A623 #60A623
triadic
#A1A623 #23A1A6 #A623A1
tetradic
#A1A623 #23A66A #2823A6 #A62360
square
#A1A623 #23A66A #2823A6 #A62360
split-complementary
#A1A623 #2360A6 #6A23A6
monochromatic
#3F410E #707318 #A1A623 #CED432 #DADF65

Accessibility & contrast

On white

2.63
#A1A623 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#A1A623 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1A623
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1A623#FFFFFF#000000##000000
##A1A6231.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#B4A12F
Tritanopia (blue-blind)
#AC9B8E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a1a623;
/* rgb */ color: rgb(161, 166, 35);
/* oklch */ color: oklch(69.9% 0.144 111.9);
Tailwind
colors: {
  custom: {
    50: '#c1c06a',
    500: '#a1a623',
    950: '#000000',
  },
}
SCSS
$custom: #a1a623;
$custom-light: #c1c06a;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a623",
  "rgb": {
    "r": 161,
    "g": 166,
    "b": 35
  },
  "hsl": {
    "h": 62.29,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.69869,
    "c": 0.14417,
    "h": 111.9
  },
  "luminance": 0.34971
}

Semantic roles & 50–950 ramp

primary
#A1A623
secondary
#6561C4
accent
#40E846
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A1A623

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

Preview Lab → · Contrast checker → · Palette generator →

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