#A1AA24#A1AA24

#A1AA24 is a light, vivid yellow. Relative luminance 0.365; 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#A1AA24
RGBrgb(161, 170, 36)
HSLhsl(64, 65%, 40%)
HSVhsv(64, 79%, 67%)
CMYKcmyk(5.3%, 0%, 78.8%, 33.3%)
CIE-LABlab(66.87, -19.06, 62.16)
CIE-LCHlch(66.87, 65.02, 107.05°)
OKLaboklab(70.78% -0.0592 0.1355)
OKLCHoklch(70.78% 0.148 113.6)
XYZxyz(29.3920, 36.4545, 7.1568)
Luminance0.3645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1AA24 #2D24AA
analogous
#AA7024 #A1AA24 #5EAA24
triadic
#A1AA24 #24A1AA #AA24A1
tetradic
#A1AA24 #24AA70 #2D24AA #AA245E
square
#A1AA24 #24AA70 #2D24AA #AA245E
split-complementary
#A1AA24 #245EAA #7024AA
monochromatic
#41450F #717719 #A1AA24 #CAD537 #D7DF69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1AA24#FFFFFF#000000##000000
##A1AA241.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)
#B7A431
Tritanopia (blue-blind)
#AC9F91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a1aa24;
/* rgb */ color: rgb(161, 170, 36);
/* oklch */ color: oklch(70.8% 0.148 113.6);
Tailwind
colors: {
  custom: {
    50: '#c0c36b',
    500: '#a1aa24',
    950: '#000000',
  },
}
SCSS
$custom: #a1aa24;
$custom-light: #c0c36b;
$custom-dark: #000000;
JSON
{
  "hex": "#a1aa24",
  "rgb": {
    "r": 161,
    "g": 170,
    "b": 36
  },
  "hsl": {
    "h": 64.03,
    "s": 65.049,
    "l": 40.392
  },
  "oklch": {
    "l": 0.70783,
    "c": 0.14787,
    "h": 113.6
  },
  "luminance": 0.36454
}

Semantic roles & 50–950 ramp

primary
#A1AA24
secondary
#6B65C5
accent
#40E84B
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A1AA24

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

Preview Lab → · Contrast checker → · Palette generator →

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