#A2A128#A2A128

#A2A128 is a light, vivid yellow. Relative luminance 0.333; OKLCH L 68.9% C 0.136 H 109.0°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#A2A128
RGBrgb(162, 161, 40)
HSLhsl(60, 60%, 40%)
HSVhsv(60, 75%, 64%)
CMYKcmyk(0%, 0.6%, 75.3%, 36.5%)
CIE-LABlab(64.42, -13.84, 58.68)
CIE-LCHlch(64.42, 60.29, 103.27°)
OKLaboklab(68.86% -0.0444 0.1288)
OKLCHoklch(68.86% 0.136 109)
XYZxyz(28.0292, 33.3252, 6.9630)
Luminance0.3332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A128 #2829A2
analogous
#A26428 #A2A128 #66A228
triadic
#A2A128 #28A2A1 #A128A2
tetradic
#A2A128 #28A264 #2829A2 #A22866
square
#A2A128 #28A264 #2829A2 #A22866
split-complementary
#A2A128 #2866A2 #6428A2
monochromatic
#403F10 #71701C #A2A128 #CECD39 #DAD96A

Accessibility & contrast

On white

2.74
#A2A128 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#A2A128 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A128
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A128#FFFFFF#000000##000000
##A2A1281.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A0C
Deuteranopia (green-blind)
#B09E32
Tritanopia (blue-blind)
#AE968A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a2a128;
/* rgb */ color: rgb(162, 161, 40);
/* oklch */ color: oklch(68.9% 0.136 109.0);
Tailwind
colors: {
  custom: {
    50: '#c1bc6c',
    500: '#a2a128',
    950: '#000000',
  },
}
SCSS
$custom: #a2a128;
$custom-light: #c1bc6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a128",
  "rgb": {
    "r": 162,
    "g": 161,
    "b": 40
  },
  "hsl": {
    "h": 59.508,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.68856,
    "c": 0.13624,
    "h": 109
  },
  "luminance": 0.33324
}

Semantic roles & 50–950 ramp

primary
#A2A128
secondary
#6566C1
accent
#46E444
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A2A128

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

Preview Lab → · Contrast checker → · Palette generator →

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