#A1AA23#A1AA23

#A1AA23 is a light, vivid yellow. Relative luminance 0.364; OKLCH L 70.8% C 0.148 H 113.6°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#A1AA23
RGBrgb(161, 170, 35)
HSLhsl(64, 66%, 40%)
HSVhsv(64, 79%, 67%)
CMYKcmyk(5.3%, 0%, 79.4%, 33.3%)
CIE-LABlab(66.86, -19.10, 62.45)
CIE-LCHlch(66.86, 65.31, 107.01°)
OKLaboklab(70.78% -0.0594 0.1359)
OKLCHoklch(70.78% 0.148 113.6)
XYZxyz(29.3770, 36.4485, 7.0775)
Luminance0.3645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1AA23 #2C23AA
analogous
#AA6F23 #A1AA23 #5DAA23
triadic
#A1AA23 #23A1AA #AA23A1
tetradic
#A1AA23 #23AA6F #2C23AA #AA235D
square
#A1AA23 #23AA6F #2C23AA #AA235D
split-complementary
#A1AA23 #235DAA #6F23AA
monochromatic
#41440E #717719 #A1AA23 #CBD535 #D8E068

Accessibility & contrast

On white

2.53
#A1AA23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#A1AA23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1AA23
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1AA23#FFFFFF#000000##000000
##A1AA231.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#B7A430
Tritanopia (blue-blind)
#AC9F91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a1aa23;
/* rgb */ color: rgb(161, 170, 35);
/* oklch */ color: oklch(70.8% 0.148 113.6);
Tailwind
colors: {
  custom: {
    50: '#c1c36b',
    500: '#a1aa23',
    950: '#000000',
  },
}
SCSS
$custom: #a1aa23;
$custom-light: #c1c36b;
$custom-dark: #000000;
JSON
{
  "hex": "#a1aa23",
  "rgb": {
    "r": 161,
    "g": 170,
    "b": 35
  },
  "hsl": {
    "h": 64,
    "s": 65.854,
    "l": 40.196
  },
  "oklch": {
    "l": 0.70778,
    "c": 0.14834,
    "h": 113.6
  },
  "luminance": 0.36448
}

Semantic roles & 50–950 ramp

primary
#A1AA23
secondary
#6A63C6
accent
#3FE94A
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A1AA23

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

Preview Lab → · Contrast checker → · Palette generator →

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