#A2AE27#A2AE27

#A2AE27 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#A2AE27
RGBrgb(162, 174, 39)
HSLhsl(65, 63%, 42%)
HSVhsv(65, 78%, 68%)
CMYKcmyk(6.9%, 0%, 77.6%, 31.8%)
CIE-LABlab(68.09, -20.52, 62.39)
CIE-LCHlch(68.09, 65.68, 108.21°)
OKLaboklab(71.79% -0.063 0.1365)
OKLCHoklch(71.79% 0.15 114.8)
XYZxyz(30.4035, 38.1005, 7.6716)
Luminance0.3810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AE27 #3327AE
analogous
#AE7727 #A2AE27 #5FAE27
triadic
#A2AE27 #27A2AE #AE27A2
tetradic
#A2AE27 #27AE77 #3327AE #AE275F
square
#A2AE27 #27AE77 #3327AE #AE275F
split-complementary
#A2AE27 #275FAE #7727AE
monochromatic
#454A11 #737C1C #A2AE27 #C7D43E #D5DF70

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2AE27#FFFFFF#000000##000000
##A2AE271.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)
#BBA500
Deuteranopia (green-blind)
#BAA733
Tritanopia (blue-blind)
#ADA395
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a2ae27;
/* rgb */ color: rgb(162, 174, 39);
/* oklch */ color: oklch(71.8% 0.150 114.8);
Tailwind
colors: {
  custom: {
    50: '#c1c66d',
    500: '#a2ae27',
    950: '#000000',
  },
}
SCSS
$custom: #a2ae27;
$custom-light: #c1c66d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ae27",
  "rgb": {
    "r": 162,
    "g": 174,
    "b": 39
  },
  "hsl": {
    "h": 65.333,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.71793,
    "c": 0.15034,
    "h": 114.8
  },
  "luminance": 0.381
}

Semantic roles & 50–950 ramp

primary
#A2AE27
secondary
#736BC6
accent
#41E650
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A2AE27

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

Preview Lab → · Contrast checker → · Palette generator →

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