#A1AE27#A1AE27

#A1AE27 is a light, vivid yellow. Relative luminance 0.380; OKLCH L 71.7% C 0.151 H 115.2°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#A1AE27
RGBrgb(161, 174, 39)
HSLhsl(66, 63%, 42%)
HSVhsv(66, 78%, 68%)
CMYKcmyk(7.5%, 0%, 77.6%, 31.8%)
CIE-LABlab(68.02, -20.95, 62.29)
CIE-LCHlch(68.02, 65.72, 108.59°)
OKLaboklab(71.71% -0.0642 0.1363)
OKLCHoklch(71.71% 0.151 115.2)
XYZxyz(30.2011, 37.9962, 7.6621)
Luminance0.3800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1AE27 #3427AE
analogous
#AE7827 #A1AE27 #5EAE27
triadic
#A1AE27 #27A1AE #AE27A1
tetradic
#A1AE27 #27AE78 #3427AE #AE275E
square
#A1AE27 #27AE78 #3427AE #AE275E
split-complementary
#A1AE27 #275EAE #7827AE
monochromatic
#444A11 #737C1C #A1AE27 #C5D43E #D4DF70

Accessibility & contrast

On white

2.44
#A1AE27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#A1AE27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1AE27
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1AE27#FFFFFF#000000##000000
##A1AE271.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA500
Deuteranopia (green-blind)
#BAA733
Tritanopia (blue-blind)
#ACA495
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a1ae27;
/* rgb */ color: rgb(161, 174, 39);
/* oklch */ color: oklch(71.7% 0.151 115.2);
Tailwind
colors: {
  custom: {
    50: '#c0c66d',
    500: '#a1ae27',
    950: '#000000',
  },
}
SCSS
$custom: #a1ae27;
$custom-light: #c0c66d;
$custom-dark: #000000;
JSON
{
  "hex": "#a1ae27",
  "rgb": {
    "r": 161,
    "g": 174,
    "b": 39
  },
  "hsl": {
    "h": 65.778,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.71712,
    "c": 0.15067,
    "h": 115.2
  },
  "luminance": 0.37996
}

Semantic roles & 50–950 ramp

primary
#A1AE27
secondary
#746BC6
accent
#41E651
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A1AE27

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

Preview Lab → · Contrast checker → · Palette generator →

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