#A2A645#A2A645

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

Color values

HEX#A2A645
RGBrgb(162, 166, 69)
HSLhsl(62, 41%, 46%)
HSVhsv(62, 58%, 65%)
CMYKcmyk(2.4%, 0%, 58.4%, 34.9%)
CIE-LABlab(66.05, -14.69, 48.60)
CIE-LCHlch(66.05, 50.77, 106.82°)
OKLaboklab(70.22% -0.0438 0.1122)
OKLCHoklch(70.22% 0.12 111.3)
XYZxyz(29.6114, 35.3842, 10.8990)
Luminance0.3538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A645 #4945A6
analogous
#A67945 #A2A645 #71A645
triadic
#A2A645 #45A2A6 #A645A2
tetradic
#A2A645 #45A679 #4945A6 #A64571
square
#A2A645 #45A679 #4945A6 #A64571
split-complementary
#A2A645 #4571A6 #7945A6
monochromatic
#4E5021 #787B33 #A2A645 #BDC068 #D0D293

Accessibility & contrast

On white

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

On black

8.08
#A2A645 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A645
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A645#FFFFFF#000000##000000
##A2A6451.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F3A
Deuteranopia (green-blind)
#B2A24B
Tritanopia (blue-blind)
#AC9D91
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a2a645;
/* rgb */ color: rgb(162, 166, 69);
/* oklch */ color: oklch(70.2% 0.120 111.3);
Tailwind
colors: {
  custom: {
    50: '#c0c07c',
    500: '#a2a645',
    950: '#000000',
  },
}
SCSS
$custom: #a2a645;
$custom-light: #c0c07c;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a645",
  "rgb": {
    "r": 162,
    "g": 166,
    "b": 69
  },
  "hsl": {
    "h": 62.474,
    "s": 41.277,
    "l": 46.078
  },
  "oklch": {
    "l": 0.70222,
    "c": 0.12039,
    "h": 111.3
  },
  "luminance": 0.35383
}

Semantic roles & 50–950 ramp

primary
#A2A645
secondary
#8B89BE
accent
#57D15C
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #A2A645

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

Preview Lab → · Contrast checker → · Palette generator →

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