#A2A642#A2A642

#A2A642 is a light, vivid yellow. Relative luminance 0.353; OKLCH L 70.2% C 0.123 H 111.3°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#A2A642
RGBrgb(162, 166, 66)
HSLhsl(62, 43%, 45%)
HSVhsv(62, 60%, 65%)
CMYKcmyk(2.4%, 0%, 60.2%, 34.9%)
CIE-LABlab(66.02, -14.92, 49.93)
CIE-LCHlch(66.02, 52.11, 106.64°)
OKLaboklab(70.19% -0.0447 0.1146)
OKLCHoklch(70.19% 0.123 111.3)
XYZxyz(29.5207, 35.3478, 10.4209)
Luminance0.3535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A642 #4642A6
analogous
#A67842 #A2A642 #70A642
triadic
#A2A642 #42A2A6 #A642A2
tetradic
#A2A642 #42A678 #4642A6 #A64270
square
#A2A642 #42A678 #4642A6 #A64270
split-complementary
#A2A642 #4270A6 #7842A6
monochromatic
#4D4E1F #777A31 #A2A642 #BEC164 #D0D390

Accessibility & contrast

On white

2.60
#A2A642 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#A2A642 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A642
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A642#FFFFFF#000000##000000
##A2A6421.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F37
Deuteranopia (green-blind)
#B3A248
Tritanopia (blue-blind)
#AC9C91
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a2a642;
/* rgb */ color: rgb(162, 166, 66);
/* oklch */ color: oklch(70.2% 0.123 111.3);
Tailwind
colors: {
  custom: {
    50: '#c0c07b',
    500: '#a2a642',
    950: '#000000',
  },
}
SCSS
$custom: #a2a642;
$custom-light: #c0c07b;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a642",
  "rgb": {
    "r": 162,
    "g": 166,
    "b": 66
  },
  "hsl": {
    "h": 62.4,
    "s": 43.103,
    "l": 45.49
  },
  "oklch": {
    "l": 0.7019,
    "c": 0.12302,
    "h": 111.3
  },
  "luminance": 0.35347
}

Semantic roles & 50–950 ramp

primary
#A2A642
secondary
#8886BE
accent
#55D35A
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A2A642

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

Preview Lab → · Contrast checker → · Palette generator →

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