#A1AA27#A1AA27

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

Color values

HEX#A1AA27
RGBrgb(161, 170, 39)
HSLhsl(64, 63%, 41%)
HSVhsv(64, 77%, 67%)
CMYKcmyk(5.3%, 0%, 77.1%, 33.3%)
CIE-LABlab(66.88, -18.94, 61.25)
CIE-LCHlch(66.88, 64.11, 107.19°)
OKLaboklab(70.8% -0.0586 0.1341)
OKLCHoklch(70.8% 0.146 113.6)
XYZxyz(29.4398, 36.4736, 7.4083)
Luminance0.3647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1AA27 #3027AA
analogous
#AA7127 #A1AA27 #5FAA27
triadic
#A1AA27 #27A1AA #AA27A1
tetradic
#A1AA27 #27AA71 #3027AA #AA275F
square
#A1AA27 #27AA71 #3027AA #AA275F
split-complementary
#A1AA27 #275FAA #7127AA
monochromatic
#434610 #72781C #A1AA27 #C8D23C #D6DE6E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1AA27#FFFFFF#000000##000000
##A1AA271.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)
#B7A202
Deuteranopia (green-blind)
#B7A433
Tritanopia (blue-blind)
#ACA092
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a1aa27;
/* rgb */ color: rgb(161, 170, 39);
/* oklch */ color: oklch(70.8% 0.146 113.6);
Tailwind
colors: {
  custom: {
    50: '#c0c36c',
    500: '#a1aa27',
    950: '#000000',
  },
}
SCSS
$custom: #a1aa27;
$custom-light: #c0c36c;
$custom-dark: #000000;
JSON
{
  "hex": "#a1aa27",
  "rgb": {
    "r": 161,
    "g": 170,
    "b": 39
  },
  "hsl": {
    "h": 64.122,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.708,
    "c": 0.14635,
    "h": 113.6
  },
  "luminance": 0.36473
}

Semantic roles & 50–950 ramp

primary
#A1AA27
secondary
#6F69C4
accent
#42E64D
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A1AA27

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

Preview Lab → · Contrast checker → · Palette generator →

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