#A2A22B#A2A22B

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

Color values

HEX#A2A22B
RGBrgb(162, 162, 43)
HSLhsl(60, 58%, 40%)
HSVhsv(60, 73%, 64%)
CMYKcmyk(0%, 0%, 73.5%, 36.5%)
CIE-LABlab(64.72, -14.23, 57.92)
CIE-LCHlch(64.72, 59.65, 103.80°)
OKLaboklab(69.1% -0.0452 0.1278)
OKLCHoklch(69.1% 0.136 109.5)
XYZxyz(28.2577, 33.6973, 7.3007)
Luminance0.3370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A22B #2B2BA2
analogous
#A2662B #A2A22B #66A22B
triadic
#A2A22B #2BA2A2 #A22BA2
tetradic
#A2A22B #2BA266 #2B2BA2 #A22B66
square
#A2A22B #2BA266 #2B2BA2 #A22B66
split-complementary
#A2A22B #2B66A2 #662BA2
monochromatic
#414111 #72721E #A2A22B #CCCC3E #D9D96F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2A22B#FFFFFF#000000##000000
##A2A22B1.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)
#AF9B13
Deuteranopia (green-blind)
#B19F34
Tritanopia (blue-blind)
#AE978B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a2a22b;
/* rgb */ color: rgb(162, 162, 43);
/* oklch */ color: oklch(69.1% 0.136 109.5);
Tailwind
colors: {
  custom: {
    50: '#c1bd6d',
    500: '#a2a22b',
    950: '#000000',
  },
}
SCSS
$custom: #a2a22b;
$custom-light: #c1bd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a22b",
  "rgb": {
    "r": 162,
    "g": 162,
    "b": 43
  },
  "hsl": {
    "h": 60,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.69099,
    "c": 0.13551,
    "h": 109.5
  },
  "luminance": 0.33696
}

Semantic roles & 50–950 ramp

primary
#A2A22B
secondary
#6969C0
accent
#47E147
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A2A22B

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

Preview Lab → · Contrast checker → · Palette generator →

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