#A2AE40#A2AE40

#A2AE40 is a light, vivid yellow. Relative luminance 0.383; OKLCH L 72.0% C 0.134 H 115.1°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#A2AE40
RGBrgb(162, 174, 64)
HSLhsl(67, 46%, 47%)
HSVhsv(67, 63%, 68%)
CMYKcmyk(6.9%, 0%, 63.2%, 31.8%)
CIE-LABlab(68.26, -19.15, 53.22)
CIE-LCHlch(68.26, 56.56, 109.79°)
OKLaboklab(71.98% -0.0568 0.1213)
OKLCHoklch(71.98% 0.134 115.1)
XYZxyz(30.9625, 38.3241, 10.6157)
Luminance0.3832 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AE40 #4C40AE
analogous
#AE8340 #A2AE40 #6BAE40
triadic
#A2AE40 #40A2AE #AE40A2
tetradic
#A2AE40 #40AE83 #4C40AE #AE406B
square
#A2AE40 #40AE83 #4C40AE #AE406B
split-complementary
#A2AE40 #406BAE #8340AE
monochromatic
#4F551F #788130 #A2AE40 #BCC665 #CFD792

Accessibility & contrast

On white

2.42
#A2AE40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#A2AE40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AE40
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AE40#FFFFFF#000000##000000
##A2AE401.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA632
Deuteranopia (green-blind)
#B9A747
Tritanopia (blue-blind)
#ACA497
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a2ae40;
/* rgb */ color: rgb(162, 174, 64);
/* oklch */ color: oklch(72.0% 0.134 115.1);
Tailwind
colors: {
  custom: {
    50: '#c0c67a',
    500: '#a2ae40',
    950: '#000000',
  },
}
SCSS
$custom: #a2ae40;
$custom-light: #c0c67a;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ae40",
  "rgb": {
    "r": 162,
    "g": 174,
    "b": 64
  },
  "hsl": {
    "h": 66.545,
    "s": 46.218,
    "l": 46.667
  },
  "oklch": {
    "l": 0.71977,
    "c": 0.13396,
    "h": 115.1
  },
  "luminance": 0.38324
}

Semantic roles & 50–950 ramp

primary
#A2AE40
secondary
#8E88C2
accent
#52D660
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#131309
muted
#82827B

Preview Lab

Preview with #A2AE40

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

Preview Lab → · Contrast checker → · Palette generator →

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