#A2A824#A2A824

#A2A824 is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.4% C 0.145 H 112.3°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#A2A824
RGBrgb(162, 168, 36)
HSLhsl(63, 65%, 40%)
HSVhsv(63, 79%, 66%)
CMYKcmyk(3.6%, 0%, 78.6%, 34.1%)
CIE-LABlab(66.38, -17.61, 61.75)
CIE-LCHlch(66.38, 64.21, 105.92°)
OKLaboklab(70.41% -0.0552 0.1346)
OKLCHoklch(70.41% 0.145 112.3)
XYZxyz(29.2224, 35.8147, 7.0423)
Luminance0.3581 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A824 #2A24A8
analogous
#A86C24 #A2A824 #60A824
triadic
#A2A824 #24A2A8 #A824A2
tetradic
#A2A824 #24A86C #2A24A8 #A82460
square
#A2A824 #24A86C #2A24A8 #A82460
split-complementary
#A2A824 #2460A8 #6C24A8
monochromatic
#41430E #717619 #A2A824 #CDD435 #D9DF68

Accessibility & contrast

On white

2.57
#A2A824 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#A2A824 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A824
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A824#FFFFFF#000000##000000
##A2A8241.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#B6A330
Tritanopia (blue-blind)
#AD9D90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a2a824;
/* rgb */ color: rgb(162, 168, 36);
/* oklch */ color: oklch(70.4% 0.145 112.3);
Tailwind
colors: {
  custom: {
    50: '#c1c16b',
    500: '#a2a824',
    950: '#000000',
  },
}
SCSS
$custom: #a2a824;
$custom-light: #c1c16b;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a824",
  "rgb": {
    "r": 162,
    "g": 168,
    "b": 36
  },
  "hsl": {
    "h": 62.727,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.70412,
    "c": 0.14549,
    "h": 112.3
  },
  "luminance": 0.35814
}

Semantic roles & 50–950 ramp

primary
#A2A824
secondary
#6863C4
accent
#40E848
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A2A824

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

Preview Lab → · Contrast checker → · Palette generator →

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