#A2A841#A2A841

#A2A841 is a light, vivid yellow. Relative luminance 0.361; OKLCH L 70.6% C 0.126 H 112.3°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#A2A841
RGBrgb(162, 168, 65)
HSLhsl(63, 44%, 46%)
HSVhsv(63, 61%, 66%)
CMYKcmyk(3.6%, 0%, 61.3%, 34.1%)
CIE-LABlab(66.57, -16.02, 50.98)
CIE-LCHlch(66.57, 53.43, 107.45°)
OKLaboklab(70.63% -0.0479 0.1167)
OKLCHoklch(70.63% 0.126 112.3)
XYZxyz(29.8578, 36.0689, 10.3891)
Luminance0.3607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A841 #4741A8
analogous
#A87A41 #A2A841 #6EA841
triadic
#A2A841 #41A2A8 #A841A2
tetradic
#A2A841 #41A87A #4741A8 #A8416E
square
#A2A841 #41A87A #4741A8 #A8416E
split-complementary
#A2A841 #416EA8 #7A41A8
monochromatic
#4D501F #777C30 #A2A841 #BDC363 #D0D490

Accessibility & contrast

On white

2.56
#A2A841 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#A2A841 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A841
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A841#FFFFFF#000000##000000
##A2A8411.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A135
Deuteranopia (green-blind)
#B4A347
Tritanopia (blue-blind)
#AC9E92
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a2a841;
/* rgb */ color: rgb(162, 168, 65);
/* oklch */ color: oklch(70.6% 0.126 112.3);
Tailwind
colors: {
  custom: {
    50: '#c0c17a',
    500: '#a2a841',
    950: '#000000',
  },
}
SCSS
$custom: #a2a841;
$custom-light: #c0c17a;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a841",
  "rgb": {
    "r": 162,
    "g": 168,
    "b": 65
  },
  "hsl": {
    "h": 63.495,
    "s": 44.206,
    "l": 45.686
  },
  "oklch": {
    "l": 0.7063,
    "c": 0.12615,
    "h": 112.3
  },
  "luminance": 0.36068
}

Semantic roles & 50–950 ramp

primary
#A2A841
secondary
#8986BF
accent
#54D45B
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A2A841

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

Preview Lab → · Contrast checker → · Palette generator →

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