#A2A229#A2A229

#A2A229 is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.1% C 0.137 H 109.5°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#A2A229
RGBrgb(162, 162, 41)
HSLhsl(60, 60%, 40%)
HSVhsv(60, 75%, 64%)
CMYKcmyk(0%, 0%, 74.7%, 36.5%)
CIE-LABlab(64.71, -14.32, 58.61)
CIE-LCHlch(64.71, 60.33, 103.73°)
OKLaboklab(69.09% -0.0456 0.1288)
OKLCHoklch(69.09% 0.137 109.5)
XYZxyz(28.2219, 33.6830, 7.1122)
Luminance0.3368 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A229 #2929A2
analogous
#A26629 #A2A229 #66A229
triadic
#A2A229 #29A2A2 #A229A2
tetradic
#A2A229 #29A266 #2929A2 #A22966
square
#A2A229 #29A266 #2929A2 #A22966
split-complementary
#A2A229 #2966A2 #6629A2
monochromatic
#404010 #71711D #A2A229 #CDCD3B #DADA6C

Accessibility & contrast

On white

2.71
#A2A229 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#A2A229 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A229
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A229#FFFFFF#000000##000000
##A2A2291.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B0E
Deuteranopia (green-blind)
#B19F33
Tritanopia (blue-blind)
#AE978B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a2a229;
/* rgb */ color: rgb(162, 162, 41);
/* oklch */ color: oklch(69.1% 0.137 109.5);
Tailwind
colors: {
  custom: {
    50: '#c1bd6c',
    500: '#a2a229',
    950: '#000000',
  },
}
SCSS
$custom: #a2a229;
$custom-light: #c1bd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a229",
  "rgb": {
    "r": 162,
    "g": 162,
    "b": 41
  },
  "hsl": {
    "h": 60,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.69086,
    "c": 0.13668,
    "h": 109.5
  },
  "luminance": 0.33682
}

Semantic roles & 50–950 ramp

primary
#A2A229
secondary
#6767C0
accent
#45E345
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A2A229

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

Preview Lab → · Contrast checker → · Palette generator →

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