#A2AA24#A2AA24

#A2AA24 is a light, vivid yellow. Relative luminance 0.366; OKLCH L 70.9% C 0.148 H 113.2°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#A2AA24
RGBrgb(162, 170, 36)
HSLhsl(64, 65%, 40%)
HSVhsv(64, 79%, 67%)
CMYKcmyk(4.7%, 0%, 78.8%, 33.3%)
CIE-LABlab(66.94, -18.63, 62.26)
CIE-LCHlch(66.94, 64.99, 106.66°)
OKLaboklab(70.87% -0.058 0.1357)
OKLCHoklch(70.87% 0.148 113.2)
XYZxyz(29.5944, 36.5589, 7.1663)
Luminance0.3656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AA24 #2C24AA
analogous
#AA6F24 #A2AA24 #5FAA24
triadic
#A2AA24 #24A2AA #AA24A2
tetradic
#A2AA24 #24AA6F #2C24AA #AA245F
square
#A2AA24 #24AA6F #2C24AA #AA245F
split-complementary
#A2AA24 #245FAA #6F24AA
monochromatic
#42450F #727719 #A2AA24 #CBD537 #D8DF69

Accessibility & contrast

On white

2.53
#A2AA24 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#A2AA24 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AA24
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AA24#FFFFFF#000000##000000
##A2AA241.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A200
Deuteranopia (green-blind)
#B7A430
Tritanopia (blue-blind)
#AD9F91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a2aa24;
/* rgb */ color: rgb(162, 170, 36);
/* oklch */ color: oklch(70.9% 0.148 113.2);
Tailwind
colors: {
  custom: {
    50: '#c1c36b',
    500: '#a2aa24',
    950: '#000000',
  },
}
SCSS
$custom: #a2aa24;
$custom-light: #c1c36b;
$custom-dark: #000000;
JSON
{
  "hex": "#a2aa24",
  "rgb": {
    "r": 162,
    "g": 170,
    "b": 36
  },
  "hsl": {
    "h": 63.582,
    "s": 65.049,
    "l": 40.392
  },
  "oklch": {
    "l": 0.70866,
    "c": 0.14757,
    "h": 113.2
  },
  "luminance": 0.36558
}

Semantic roles & 50–950 ramp

primary
#A2AA24
secondary
#6A65C5
accent
#40E84A
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A2AA24

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

Preview Lab → · Contrast checker → · Palette generator →

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