#A2A042#A2A042

#A2A042 is a light, moderate yellow. Relative luminance 0.332; OKLCH L 68.8% C 0.116 H 108.0°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#A2A042
RGBrgb(162, 160, 66)
HSLhsl(59, 42%, 45%)
HSVhsv(59, 59%, 64%)
CMYKcmyk(0%, 1.2%, 59.3%, 36.5%)
CIE-LABlab(64.34, -11.79, 48.08)
CIE-LCHlch(64.34, 49.50, 103.78°)
OKLaboklab(68.85% -0.0359 0.1107)
OKLCHoklch(68.85% 0.116 108)
XYZxyz(28.4553, 33.2172, 10.0658)
Luminance0.3322 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A042 #4244A2
analogous
#A27042 #A2A042 #74A242
triadic
#A2A042 #42A2A0 #A042A2
tetradic
#A2A042 #42A270 #4244A2 #A24274
square
#A2A042 #42A270 #4244A2 #A24274
split-complementary
#A2A042 #4274A2 #7042A2
monochromatic
#4B4A1F #777530 #A2A042 #BFBD62 #D1CF8E

Accessibility & contrast

On white

2.75
#A2A042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#A2A042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A042
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A042#FFFFFF#000000##000000
##A2A0421.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9A38
Deuteranopia (green-blind)
#AE9E47
Tritanopia (blue-blind)
#AD968C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a2a042;
/* rgb */ color: rgb(162, 160, 66);
/* oklch */ color: oklch(68.8% 0.116 108.0);
Tailwind
colors: {
  custom: {
    50: '#c0bb7a',
    500: '#a2a042',
    950: '#000000',
  },
}
SCSS
$custom: #a2a042;
$custom-light: #c0bb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a042",
  "rgb": {
    "r": 162,
    "g": 160,
    "b": 66
  },
  "hsl": {
    "h": 58.75,
    "s": 42.105,
    "l": 44.706
  },
  "oklch": {
    "l": 0.68848,
    "c": 0.11634,
    "h": 108
  },
  "luminance": 0.33216
}

Semantic roles & 50–950 ramp

primary
#A2A042
secondary
#8485BC
accent
#58D256
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131109
muted
#82807B

Preview Lab

Preview with #A2A042

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

Preview Lab → · Contrast checker → · Palette generator →

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