#A2A928#A2A928

#A2A928 is a light, vivid yellow. Relative luminance 0.362; OKLCH L 70.7% C 0.144 H 112.7°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#A2A928
RGBrgb(162, 169, 40)
HSLhsl(63, 62%, 41%)
HSVhsv(63, 76%, 66%)
CMYKcmyk(4.1%, 0%, 76.3%, 33.7%)
CIE-LABlab(66.68, -17.96, 60.77)
CIE-LCHlch(66.68, 63.37, 106.46°)
OKLaboklab(70.66% -0.0558 0.1333)
OKLCHoklch(70.66% 0.144 112.7)
XYZxyz(29.4722, 36.2112, 7.4440)
Luminance0.3621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A928 #2F28A9
analogous
#A96F28 #A2A928 #61A928
triadic
#A2A928 #28A2A9 #A928A2
tetradic
#A2A928 #28A96F #2F28A9 #A92861
square
#A2A928 #28A96F #2F28A9 #A92861
split-complementary
#A2A928 #2861A9 #6F28A9
monochromatic
#434611 #73781C #A2A928 #C9D13D #D7DD6F

Accessibility & contrast

On white

2.55
#A2A928 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#A2A928 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A928
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A928#FFFFFF#000000##000000
##A2A9281.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A106
Deuteranopia (green-blind)
#B6A433
Tritanopia (blue-blind)
#AD9E91
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a2a928;
/* rgb */ color: rgb(162, 169, 40);
/* oklch */ color: oklch(70.7% 0.144 112.7);
Tailwind
colors: {
  custom: {
    50: '#c1c26d',
    500: '#a2a928',
    950: '#000000',
  },
}
SCSS
$custom: #a2a928;
$custom-light: #c1c26d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a928",
  "rgb": {
    "r": 162,
    "g": 169,
    "b": 40
  },
  "hsl": {
    "h": 63.256,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.70661,
    "c": 0.14448,
    "h": 112.7
  },
  "luminance": 0.36211
}

Semantic roles & 50–950 ramp

primary
#A2A928
secondary
#6E69C4
accent
#43E54C
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A2A928

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

Preview Lab → · Contrast checker → · Palette generator →

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