#A2AE31#A2AE31

#A2AE31 is a light, vivid yellow. Relative luminance 0.382; OKLCH L 71.9% C 0.145 H 114.9°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#A2AE31
RGBrgb(162, 174, 49)
HSLhsl(66, 56%, 44%)
HSVhsv(66, 72%, 68%)
CMYKcmyk(6.9%, 0%, 71.8%, 31.8%)
CIE-LABlab(68.15, -20.06, 59.07)
CIE-LCHlch(68.15, 62.38, 108.76°)
OKLaboklab(71.86% -0.0609 0.1312)
OKLCHoklch(71.86% 0.145 114.9)
XYZxyz(30.5916, 38.1758, 8.6623)
Luminance0.3817 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AE31 #3D31AE
analogous
#AE7B31 #A2AE31 #63AE31
triadic
#A2AE31 #31A2AE #AE31A2
tetradic
#A2AE31 #31AE7B #3D31AE #AE3163
square
#A2AE31 #31AE7B #3D31AE #AE3163
split-complementary
#A2AE31 #3163AE #7B31AE
monochromatic
#494E16 #767E24 #A2AE31 #C1CD4F #D2DB7F

Accessibility & contrast

On white

2.43
#A2AE31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#A2AE31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AE31
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AE31#FFFFFF#000000##000000
##A2AE311.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA51A
Deuteranopia (green-blind)
#BAA73B
Tritanopia (blue-blind)
#ADA496
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a2ae31;
/* rgb */ color: rgb(162, 174, 49);
/* oklch */ color: oklch(71.9% 0.145 114.9);
Tailwind
colors: {
  custom: {
    50: '#c1c672',
    500: '#a2ae31',
    950: '#000000',
  },
}
SCSS
$custom: #a2ae31;
$custom-light: #c1c672;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ae31",
  "rgb": {
    "r": 162,
    "g": 174,
    "b": 49
  },
  "hsl": {
    "h": 65.76,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.71855,
    "c": 0.14467,
    "h": 114.9
  },
  "luminance": 0.38175
}

Semantic roles & 50–950 ramp

primary
#A2AE31
secondary
#7E77C4
accent
#48DF57
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2AE31

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

Preview Lab → · Contrast checker → · Palette generator →

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