#A2A628#A2A628

#A2A628 is a light, vivid yellow. Relative luminance 0.351; OKLCH L 70.0% C 0.141 H 111.4°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#A2A628
RGBrgb(162, 166, 40)
HSLhsl(62, 61%, 40%)
HSVhsv(62, 76%, 65%)
CMYKcmyk(2.4%, 0%, 75.9%, 34.9%)
CIE-LABlab(65.83, -16.43, 59.99)
CIE-LCHlch(65.83, 62.20, 105.31°)
OKLaboklab(69.98% -0.0516 0.1316)
OKLCHoklch(69.98% 0.141 111.4)
XYZxyz(28.9205, 35.1078, 7.2601)
Luminance0.3511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A628 #2C28A6
analogous
#A66B28 #A2A628 #63A628
triadic
#A2A628 #28A2A6 #A628A2
tetradic
#A2A628 #28A66B #2C28A6 #A62863
square
#A2A628 #28A66B #2C28A6 #A62863
split-complementary
#A2A628 #2863A6 #6B28A6
monochromatic
#424310 #72751C #A2A628 #CBD03B #D8DC6D

Accessibility & contrast

On white

2.62
#A2A628 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#A2A628 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A628
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A628#FFFFFF#000000##000000
##A2A6281.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E08
Deuteranopia (green-blind)
#B4A133
Tritanopia (blue-blind)
#AD9B8E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a2a628;
/* rgb */ color: rgb(162, 166, 40);
/* oklch */ color: oklch(70.0% 0.141 111.4);
Tailwind
colors: {
  custom: {
    50: '#c1c06c',
    500: '#a2a628',
    950: '#000000',
  },
}
SCSS
$custom: #a2a628;
$custom-light: #c1c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a628",
  "rgb": {
    "r": 162,
    "g": 166,
    "b": 40
  },
  "hsl": {
    "h": 61.905,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.69982,
    "c": 0.14133,
    "h": 111.4
  },
  "luminance": 0.35107
}

Semantic roles & 50–950 ramp

primary
#A2A628
secondary
#6A67C2
accent
#44E449
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A2A628

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

Preview Lab → · Contrast checker → · Palette generator →

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