#A2A22F#A2A22F

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

Color values

HEX#A2A22F
RGBrgb(162, 162, 47)
HSLhsl(60, 55%, 41%)
HSVhsv(60, 71%, 64%)
CMYKcmyk(0%, 0%, 71%, 36.5%)
CIE-LABlab(64.75, -14.03, 56.49)
CIE-LCHlch(64.75, 58.20, 103.95°)
OKLaboklab(69.13% -0.0442 0.1255)
OKLCHoklch(69.13% 0.133 109.4)
XYZxyz(28.3347, 33.7281, 7.7064)
Luminance0.3373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A22F #2F2FA2
analogous
#A2682F #A2A22F #68A22F
triadic
#A2A22F #2FA2A2 #A22FA2
tetradic
#A2A22F #2FA268 #2F2FA2 #A22F68
square
#A2A22F #2FA268 #2F2FA2 #A22F68
split-complementary
#A2A22F #2F68A2 #682FA2
monochromatic
#434313 #737321 #A2A22F #C9C945 #D7D775

Accessibility & contrast

On white

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

On black

7.75
#A2A22F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A22F
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A22F#FFFFFF#000000##000000
##A2A22F1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1B
Deuteranopia (green-blind)
#B19F37
Tritanopia (blue-blind)
#AE988B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a2a22f;
/* rgb */ color: rgb(162, 162, 47);
/* oklch */ color: oklch(69.1% 0.133 109.4);
Tailwind
colors: {
  custom: {
    50: '#c1bd6f',
    500: '#a2a22f',
    950: '#000000',
  },
}
SCSS
$custom: #a2a22f;
$custom-light: #c1bd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a22f",
  "rgb": {
    "r": 162,
    "g": 162,
    "b": 47
  },
  "hsl": {
    "h": 60,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.69127,
    "c": 0.13302,
    "h": 109.4
  },
  "luminance": 0.33727
}

Semantic roles & 50–950 ramp

primary
#A2A22F
secondary
#6E6EBF
accent
#49DE49
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2A22F

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

Preview Lab → · Contrast checker → · Palette generator →

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