#A2A428#A2A428

#A2A428 is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.5% C 0.139 H 110.5°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#A2A428
RGBrgb(162, 164, 40)
HSLhsl(61, 61%, 40%)
HSVhsv(61, 76%, 64%)
CMYKcmyk(1.2%, 0%, 75.6%, 35.7%)
CIE-LABlab(65.27, -15.40, 59.47)
CIE-LCHlch(65.27, 61.43, 104.52°)
OKLaboklab(69.53% -0.0487 0.1305)
OKLCHoklch(69.53% 0.139 110.5)
XYZxyz(28.5598, 34.3863, 7.1399)
Luminance0.3439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A428 #2A28A4
analogous
#A46828 #A2A428 #64A428
triadic
#A2A428 #28A2A4 #A428A2
tetradic
#A2A428 #28A468 #2A28A4 #A42864
square
#A2A428 #28A468 #2A28A4 #A42864
split-complementary
#A2A428 #2864A4 #6828A4
monochromatic
#414210 #71731C #A2A428 #CDCF3A #D9DB6B

Accessibility & contrast

On white

2.67
#A2A428 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#A2A428 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A428
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A428#FFFFFF#000000##000000
##A2A4281.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D0A
Deuteranopia (green-blind)
#B2A032
Tritanopia (blue-blind)
#AE998D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a2a428;
/* rgb */ color: rgb(162, 164, 40);
/* oklch */ color: oklch(69.5% 0.139 110.5);
Tailwind
colors: {
  custom: {
    50: '#c1be6c',
    500: '#a2a428',
    950: '#000000',
  },
}
SCSS
$custom: #a2a428;
$custom-light: #c1be6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a428",
  "rgb": {
    "r": 162,
    "g": 164,
    "b": 40
  },
  "hsl": {
    "h": 60.968,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.69531,
    "c": 0.13927,
    "h": 110.5
  },
  "luminance": 0.34386
}

Semantic roles & 50–950 ramp

primary
#A2A428
secondary
#6866C1
accent
#44E446
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A2A428

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

Preview Lab → · Contrast checker → · Palette generator →

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