#A1AE2A#A1AE2A

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

Color values

HEX#A1AE2A
RGBrgb(161, 174, 42)
HSLhsl(66, 61%, 42%)
HSVhsv(66, 76%, 68%)
CMYKcmyk(7.5%, 0%, 75.9%, 31.8%)
CIE-LABlab(68.03, -20.83, 61.35)
CIE-LCHlch(68.03, 64.79, 108.75°)
OKLaboklab(71.73% -0.0636 0.1349)
OKLCHoklch(71.73% 0.149 115.2)
XYZxyz(30.2528, 38.0169, 7.9343)
Luminance0.3802 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1AE2A #372AAE
analogous
#AE792A #A1AE2A #5FAE2A
triadic
#A1AE2A #2AA1AE #AE2AA1
tetradic
#A1AE2A #2AAE79 #372AAE #AE2A5F
square
#A1AE2A #2AAE79 #372AAE #AE2A5F
split-complementary
#A1AE2A #2A5FAE #792AAE
monochromatic
#464B12 #737D1E #A1AE2A #C4D243 #D3DE75

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1AE2A#FFFFFF#000000##000000
##A1AE2A1.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)
#BBA509
Deuteranopia (green-blind)
#BAA736
Tritanopia (blue-blind)
#ACA495
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a1ae2a;
/* rgb */ color: rgb(161, 174, 42);
/* oklch */ color: oklch(71.7% 0.149 115.2);
Tailwind
colors: {
  custom: {
    50: '#c0c66e',
    500: '#a1ae2a',
    950: '#000000',
  },
}
SCSS
$custom: #a1ae2a;
$custom-light: #c0c66e;
$custom-dark: #000000;
JSON
{
  "hex": "#a1ae2a",
  "rgb": {
    "r": 161,
    "g": 174,
    "b": 42
  },
  "hsl": {
    "h": 65.909,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.71729,
    "c": 0.14909,
    "h": 115.2
  },
  "luminance": 0.38016
}

Semantic roles & 50–950 ramp

primary
#A1AE2A
secondary
#776FC5
accent
#44E453
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A1AE2A

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

Preview Lab → · Contrast checker → · Palette generator →

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