#A2A342#A2A342

#A2A342 is a light, moderate yellow. Relative luminance 0.343; OKLCH L 69.5% C 0.120 H 109.7°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#A2A342
RGBrgb(162, 163, 66)
HSLhsl(61, 42%, 45%)
HSVhsv(61, 60%, 64%)
CMYKcmyk(0.6%, 0%, 59.5%, 36.1%)
CIE-LABlab(65.18, -13.36, 49.00)
CIE-LCHlch(65.18, 50.79, 105.25°)
OKLaboklab(69.52% -0.0403 0.1126)
OKLCHoklch(69.52% 0.12 109.7)
XYZxyz(28.9817, 34.2699, 10.2413)
Luminance0.3427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A342 #4342A3
analogous
#A37442 #A2A342 #71A342
triadic
#A2A342 #42A2A3 #A342A2
tetradic
#A2A342 #42A374 #4342A3 #A34271
square
#A2A342 #42A374 #4342A3 #A34271
split-complementary
#A2A342 #4271A3 #7442A3
monochromatic
#4B4C1F #777730 #A2A342 #BFC063 #D1D18E

Accessibility & contrast

On white

2.67
#A2A342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#A2A342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A342
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A342#FFFFFF#000000##000000
##A2A3421.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C37
Deuteranopia (green-blind)
#B0A048
Tritanopia (blue-blind)
#AD998E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a2a342;
/* rgb */ color: rgb(162, 163, 66);
/* oklch */ color: oklch(69.5% 0.120 109.7);
Tailwind
colors: {
  custom: {
    50: '#c0be7a',
    500: '#a2a342',
    950: '#000000',
  },
}
SCSS
$custom: #a2a342;
$custom-light: #c0be7a;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a342",
  "rgb": {
    "r": 162,
    "g": 163,
    "b": 66
  },
  "hsl": {
    "h": 60.619,
    "s": 42.358,
    "l": 44.902
  },
  "oklch": {
    "l": 0.69518,
    "c": 0.11963,
    "h": 109.7
  },
  "luminance": 0.34269
}

Semantic roles & 50–950 ramp

primary
#A2A342
secondary
#8584BC
accent
#56D257
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A2A342

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

Preview Lab → · Contrast checker → · Palette generator →

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