#A2A724#A2A724

#A2A724 is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.2% C 0.144 H 111.9°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#A2A724
RGBrgb(162, 167, 36)
HSLhsl(62, 65%, 40%)
HSVhsv(62, 78%, 65%)
CMYKcmyk(3%, 0%, 78.4%, 34.5%)
CIE-LABlab(66.10, -17.10, 61.50)
CIE-LCHlch(66.10, 63.83, 105.54°)
OKLaboklab(70.19% -0.0538 0.1341)
OKLCHoklch(70.19% 0.144 111.9)
XYZxyz(29.0384, 35.4469, 6.9810)
Luminance0.3545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A724 #2924A7
analogous
#A76B24 #A2A724 #61A724
triadic
#A2A724 #24A2A7 #A724A2
tetradic
#A2A724 #24A76B #2924A7 #A72461
square
#A2A724 #24A76B #2924A7 #A72461
split-complementary
#A2A724 #2461A7 #6B24A7
monochromatic
#40420E #717519 #A2A724 #CDD335 #DADE67

Accessibility & contrast

On white

2.60
#A2A724 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#A2A724 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A724
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A724#FFFFFF#000000##000000
##A2A7241.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#B5A230
Tritanopia (blue-blind)
#AE9C8F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a2a724;
/* rgb */ color: rgb(162, 167, 36);
/* oklch */ color: oklch(70.2% 0.144 111.9);
Tailwind
colors: {
  custom: {
    50: '#c1c06b',
    500: '#a2a724',
    950: '#000000',
  },
}
SCSS
$custom: #a2a724;
$custom-light: #c1c06b;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a724",
  "rgb": {
    "r": 162,
    "g": 167,
    "b": 36
  },
  "hsl": {
    "h": 62.29,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.70186,
    "c": 0.14444,
    "h": 111.9
  },
  "luminance": 0.35446
}

Semantic roles & 50–950 ramp

primary
#A2A724
secondary
#6763C4
accent
#40E847
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A2A724

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

Preview Lab → · Contrast checker → · Palette generator →

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