#A2A242#A2A242

#A2A242 is a light, moderate yellow. Relative luminance 0.339; OKLCH L 69.3% C 0.119 H 109.1°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#A2A242
RGBrgb(162, 162, 66)
HSLhsl(60, 42%, 45%)
HSVhsv(60, 59%, 64%)
CMYKcmyk(0%, 0%, 59.3%, 36.5%)
CIE-LABlab(64.90, -12.84, 48.70)
CIE-LCHlch(64.90, 50.36, 104.77°)
OKLaboklab(69.29% -0.0388 0.112)
OKLCHoklch(69.29% 0.119 109.1)
XYZxyz(28.8048, 33.9162, 10.1823)
Luminance0.3392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A242 #4242A2
analogous
#A27242 #A2A242 #72A242
triadic
#A2A242 #42A2A2 #A242A2
tetradic
#A2A242 #42A272 #4242A2 #A24272
square
#A2A242 #42A272 #4242A2 #A24272
split-complementary
#A2A242 #4272A2 #7242A2
monochromatic
#4B4B1F #777730 #A2A242 #BFBF62 #D1D18E

Accessibility & contrast

On white

2.70
#A2A242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#A2A242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A242
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A242#FFFFFF#000000##000000
##A2A2421.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9C37
Deuteranopia (green-blind)
#AF9F48
Tritanopia (blue-blind)
#AD988D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a2a242;
/* rgb */ color: rgb(162, 162, 66);
/* oklch */ color: oklch(69.3% 0.119 109.1);
Tailwind
colors: {
  custom: {
    50: '#c0bd7a',
    500: '#a2a242',
    950: '#000000',
  },
}
SCSS
$custom: #a2a242;
$custom-light: #c0bd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a242",
  "rgb": {
    "r": 162,
    "g": 162,
    "b": 66
  },
  "hsl": {
    "h": 60,
    "s": 42.105,
    "l": 44.706
  },
  "oklch": {
    "l": 0.69294,
    "c": 0.11853,
    "h": 109.1
  },
  "luminance": 0.33915
}

Semantic roles & 50–950 ramp

primary
#A2A242
secondary
#8484BC
accent
#56D256
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A2A242

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

Preview Lab → · Contrast checker → · Palette generator →

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