#A2A652#A2A652

#A2A652 is a light, moderate yellow. Relative luminance 0.356; OKLCH L 70.4% C 0.108 H 111.3°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#A2A652
RGBrgb(162, 166, 82)
HSLhsl(63, 34%, 49%)
HSVhsv(63, 51%, 65%)
CMYKcmyk(2.4%, 0%, 50.6%, 34.9%)
CIE-LABlab(66.19, -13.59, 42.56)
CIE-LCHlch(66.19, 44.68, 107.71°)
OKLaboklab(70.38% -0.0392 0.1006)
OKLCHoklch(70.38% 0.108 111.3)
XYZxyz(30.0601, 35.5636, 13.2620)
Luminance0.3556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A652 #5652A6
analogous
#A68052 #A2A652 #78A652
triadic
#A2A652 #52A2A6 #A652A2
tetradic
#A2A652 #52A680 #5652A6 #A65278
square
#A2A652 #52A680 #5652A6 #A65278
split-complementary
#A2A652 #5278A6 #8052A6
monochromatic
#52542A #7A7D3E #A2A652 #B9BD79 #CFD1A2

Accessibility & contrast

On white

2.59
#A2A652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#A2A652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A652
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A652#FFFFFF#000000##000000
##A2A6521.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A04A
Deuteranopia (green-blind)
#B1A256
Tritanopia (blue-blind)
#AB9D93
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a2a652;
/* rgb */ color: rgb(162, 166, 82);
/* oklch */ color: oklch(70.4% 0.108 111.3);
Tailwind
colors: {
  custom: {
    50: '#bfc085',
    500: '#a2a652',
    950: '#000000',
  },
}
SCSS
$custom: #a2a652;
$custom-light: #bfc085;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a652",
  "rgb": {
    "r": 162,
    "g": 166,
    "b": 82
  },
  "hsl": {
    "h": 62.857,
    "s": 33.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.70377,
    "c": 0.10796,
    "h": 111.3
  },
  "luminance": 0.35563
}

Semantic roles & 50–950 ramp

primary
#A2A652
secondary
#9896BE
accent
#5ECA63
background
#FBFBF8
surface
#F7F7EF
border
#D0D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #A2A652

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

Preview Lab → · Contrast checker → · Palette generator →

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