#A2A843#A2A843

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

Color values

HEX#A2A843
RGBrgb(162, 168, 67)
HSLhsl(64, 43%, 46%)
HSVhsv(64, 60%, 66%)
CMYKcmyk(3.6%, 0%, 60.1%, 34.1%)
CIE-LABlab(66.59, -15.88, 50.10)
CIE-LCHlch(66.59, 52.56, 107.58°)
OKLaboklab(70.65% -0.0473 0.1151)
OKLCHoklch(70.65% 0.124 112.3)
XYZxyz(29.9168, 36.0925, 10.6997)
Luminance0.3609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A843 #4943A8
analogous
#A87B43 #A2A843 #6FA843
triadic
#A2A843 #43A2A8 #A843A2
tetradic
#A2A843 #43A87B #4943A8 #A8436F
square
#A2A843 #43A87B #4943A8 #A8436F
split-complementary
#A2A843 #436FA8 #7B43A8
monochromatic
#4E5020 #787C32 #A2A843 #BDC266 #D0D392

Accessibility & contrast

On white

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

On black

8.22
#A2A843 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A843
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A843#FFFFFF#000000##000000
##A2A8431.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A137
Deuteranopia (green-blind)
#B4A349
Tritanopia (blue-blind)
#AC9F92
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a2a843;
/* rgb */ color: rgb(162, 168, 67);
/* oklch */ color: oklch(70.7% 0.124 112.3);
Tailwind
colors: {
  custom: {
    50: '#c0c17b',
    500: '#a2a843',
    950: '#000000',
  },
}
SCSS
$custom: #a2a843;
$custom-light: #c0c17b;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a843",
  "rgb": {
    "r": 162,
    "g": 168,
    "b": 67
  },
  "hsl": {
    "h": 63.564,
    "s": 42.979,
    "l": 46.078
  },
  "oklch": {
    "l": 0.7065,
    "c": 0.12446,
    "h": 112.3
  },
  "luminance": 0.36092
}

Semantic roles & 50–950 ramp

primary
#A2A843
secondary
#8B88BF
accent
#55D35D
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #A2A843

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

Preview Lab → · Contrast checker → · Palette generator →

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