#A2A728#A2A728

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

Color values

HEX#A2A728
RGBrgb(162, 167, 40)
HSLhsl(62, 61%, 41%)
HSVhsv(62, 76%, 65%)
CMYKcmyk(3%, 0%, 76%, 34.5%)
CIE-LABlab(66.12, -16.94, 60.25)
CIE-LCHlch(66.12, 62.59, 105.70°)
OKLaboklab(70.21% -0.053 0.1321)
OKLCHoklch(70.21% 0.142 111.9)
XYZxyz(29.1030, 35.4728, 7.3209)
Luminance0.3547 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A728 #2D28A7
analogous
#A76C28 #A2A728 #62A728
triadic
#A2A728 #28A2A7 #A728A2
tetradic
#A2A728 #28A76C #2D28A7 #A72862
square
#A2A728 #28A76C #2D28A7 #A72862
split-complementary
#A2A728 #2862A7 #6C28A7
monochromatic
#424410 #72761C #A2A728 #CAD03C #D8DC6D

Accessibility & contrast

On white

2.59
#A2A728 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2A728#FFFFFF#000000##000000
##A2A7281.002.598.098.09
#FFFFFF2.591.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F08
Deuteranopia (green-blind)
#B5A233
Tritanopia (blue-blind)
#AD9C8F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a2a728;
/* rgb */ color: rgb(162, 167, 40);
/* oklch */ color: oklch(70.2% 0.142 111.9);
Tailwind
colors: {
  custom: {
    50: '#c1c06d',
    500: '#a2a728',
    950: '#000000',
  },
}
SCSS
$custom: #a2a728;
$custom-light: #c1c06d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a728",
  "rgb": {
    "r": 162,
    "g": 167,
    "b": 40
  },
  "hsl": {
    "h": 62.362,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.70208,
    "c": 0.14238,
    "h": 111.9
  },
  "luminance": 0.35472
}

Semantic roles & 50–950 ramp

primary
#A2A728
secondary
#6C68C3
accent
#43E44A
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A2A728

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

Preview Lab → · Contrast checker → · Palette generator →

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