#A2AE28#A2AE28

#A2AE28 is a light, vivid yellow. Relative luminance 0.381; OKLCH L 71.8% C 0.150 H 114.8°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#A2AE28
RGBrgb(162, 174, 40)
HSLhsl(65, 63%, 42%)
HSVhsv(65, 77%, 68%)
CMYKcmyk(6.9%, 0%, 77%, 31.8%)
CIE-LABlab(68.10, -20.48, 62.08)
CIE-LCHlch(68.10, 65.37, 108.26°)
OKLaboklab(71.8% -0.0628 0.136)
OKLCHoklch(71.8% 0.15 114.8)
XYZxyz(30.4202, 38.1072, 7.7600)
Luminance0.3811 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AE28 #3428AE
analogous
#AE7728 #A2AE28 #5FAE28
triadic
#A2AE28 #28A2AE #AE28A2
tetradic
#A2AE28 #28AE77 #3428AE #AE285F
square
#A2AE28 #28AE77 #3428AE #AE285F
split-complementary
#A2AE28 #285FAE #7728AE
monochromatic
#454A11 #747C1D #A2AE28 #C6D340 #D5DF72

Accessibility & contrast

On white

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

On black

8.62
#A2AE28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AE28
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AE28#FFFFFF#000000##000000
##A2AE281.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA502
Deuteranopia (green-blind)
#BAA734
Tritanopia (blue-blind)
#ADA495
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a2ae28;
/* rgb */ color: rgb(162, 174, 40);
/* oklch */ color: oklch(71.8% 0.150 114.8);
Tailwind
colors: {
  custom: {
    50: '#c1c66d',
    500: '#a2ae28',
    950: '#000000',
  },
}
SCSS
$custom: #a2ae28;
$custom-light: #c1c66d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ae28",
  "rgb": {
    "r": 162,
    "g": 174,
    "b": 40
  },
  "hsl": {
    "h": 65.373,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.71798,
    "c": 0.14983,
    "h": 114.8
  },
  "luminance": 0.38107
}

Semantic roles & 50–950 ramp

primary
#A2AE28
secondary
#746CC6
accent
#42E651
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A2AE28

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

Preview Lab → · Contrast checker → · Palette generator →

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