#A2A442#A2A442

#A2A442 is a light, vivid yellow. Relative luminance 0.346; OKLCH L 69.7% C 0.121 H 110.3°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#A2A442
RGBrgb(162, 164, 66)
HSLhsl(61, 43%, 45%)
HSVhsv(61, 60%, 64%)
CMYKcmyk(1.2%, 0%, 59.8%, 35.7%)
CIE-LABlab(65.46, -13.88, 49.31)
CIE-LCHlch(65.46, 51.23, 105.72°)
OKLaboklab(69.74% -0.0418 0.1133)
OKLCHoklch(69.74% 0.121 110.3)
XYZxyz(29.1599, 34.6264, 10.3007)
Luminance0.3463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A442 #4442A4
analogous
#A47542 #A2A442 #71A442
triadic
#A2A442 #42A2A4 #A442A2
tetradic
#A2A442 #42A475 #4442A4 #A44271
square
#A2A442 #42A475 #4442A4 #A44271
split-complementary
#A2A442 #4271A4 #7542A4
monochromatic
#4C4D1F #777830 #A2A442 #BEC063 #D0D28F

Accessibility & contrast

On white

2.65
#A2A442 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#A2A442 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A442
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A442#FFFFFF#000000##000000
##A2A4421.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D37
Deuteranopia (green-blind)
#B1A048
Tritanopia (blue-blind)
#AD9A8F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a2a442;
/* rgb */ color: rgb(162, 164, 66);
/* oklch */ color: oklch(69.7% 0.121 110.3);
Tailwind
colors: {
  custom: {
    50: '#c0be7a',
    500: '#a2a442',
    950: '#000000',
  },
}
SCSS
$custom: #a2a442;
$custom-light: #c0be7a;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a442",
  "rgb": {
    "r": 162,
    "g": 164,
    "b": 66
  },
  "hsl": {
    "h": 61.224,
    "s": 42.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.69742,
    "c": 0.12076,
    "h": 110.3
  },
  "luminance": 0.34626
}

Semantic roles & 50–950 ramp

primary
#A2A442
secondary
#8685BD
accent
#55D258
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A2A442

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

Preview Lab → · Contrast checker → · Palette generator →

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