#A2A328#A2A328

#A2A328 is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.3% C 0.138 H 110.0°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#A2A328
RGBrgb(162, 163, 40)
HSLhsl(60, 61%, 40%)
HSVhsv(60, 75%, 64%)
CMYKcmyk(0.6%, 0%, 75.5%, 36.1%)
CIE-LABlab(64.99, -14.88, 59.21)
CIE-LCHlch(64.99, 61.05, 104.11°)
OKLaboklab(69.31% -0.0473 0.1299)
OKLCHoklch(69.31% 0.138 110)
XYZxyz(28.3815, 34.0298, 7.0804)
Luminance0.3403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A328 #2928A3
analogous
#A36728 #A2A328 #64A328
triadic
#A2A328 #28A2A3 #A328A2
tetradic
#A2A328 #28A367 #2928A3 #A32864
square
#A2A328 #28A367 #2928A3 #A32864
split-complementary
#A2A328 #2864A3 #6728A3
monochromatic
#404110 #71721C #A2A328 #CDCF3A #DADB6B

Accessibility & contrast

On white

2.69
#A2A328 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#A2A328 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A328
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A328#FFFFFF#000000##000000
##A2A3281.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C0B
Deuteranopia (green-blind)
#B29F32
Tritanopia (blue-blind)
#AE988C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a2a328;
/* rgb */ color: rgb(162, 163, 40);
/* oklch */ color: oklch(69.3% 0.138 110.0);
Tailwind
colors: {
  custom: {
    50: '#c1be6c',
    500: '#a2a328',
    950: '#000000',
  },
}
SCSS
$custom: #a2a328;
$custom-light: #c1be6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a328",
  "rgb": {
    "r": 162,
    "g": 163,
    "b": 40
  },
  "hsl": {
    "h": 60.488,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.69305,
    "c": 0.13826,
    "h": 110
  },
  "luminance": 0.34029
}

Semantic roles & 50–950 ramp

primary
#A2A328
secondary
#6766C1
accent
#44E445
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A2A328

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

Preview Lab → · Contrast checker → · Palette generator →

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