#A2A952#A2A952

#A2A952 is a light, moderate yellow. Relative luminance 0.367; OKLCH L 71.0% C 0.112 H 113.0°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#A2A952
RGBrgb(162, 169, 82)
HSLhsl(65, 35%, 49%)
HSVhsv(65, 51%, 66%)
CMYKcmyk(4.1%, 0%, 51.5%, 33.7%)
CIE-LABlab(67.03, -15.14, 43.55)
CIE-LCHlch(67.03, 46.11, 109.17°)
OKLaboklab(71.05% -0.0436 0.1027)
OKLCHoklch(71.05% 0.112 113)
XYZxyz(30.6118, 36.6670, 13.4459)
Luminance0.3667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A952 #5952A9
analogous
#A98552 #A2A952 #77A952
triadic
#A2A952 #52A2A9 #A952A2
tetradic
#A2A952 #52A985 #5952A9 #A95277
square
#A2A952 #52A985 #5952A9 #A95277
split-complementary
#A2A952 #5277A9 #8552A9
monochromatic
#53572A #7B803E #A2A952 #B9BE7A #CFD2A3

Accessibility & contrast

On white

2.52
#A2A952 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#A2A952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A952
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A952#FFFFFF#000000##000000
##A2A9521.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A24A
Deuteranopia (green-blind)
#B4A457
Tritanopia (blue-blind)
#ABA095
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a2a952;
/* rgb */ color: rgb(162, 169, 82);
/* oklch */ color: oklch(71.0% 0.112 113.0);
Tailwind
colors: {
  custom: {
    50: '#bfc285',
    500: '#a2a952',
    950: '#000000',
  },
}
SCSS
$custom: #a2a952;
$custom-light: #bfc285;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a952",
  "rgb": {
    "r": 162,
    "g": 169,
    "b": 82
  },
  "hsl": {
    "h": 64.828,
    "s": 34.661,
    "l": 49.216
  },
  "oklch": {
    "l": 0.71048,
    "c": 0.11163,
    "h": 113
  },
  "luminance": 0.36667
}

Semantic roles & 50–950 ramp

primary
#A2A952
secondary
#9A97C0
accent
#5DCB66
background
#FCFBF8
surface
#F8F7EF
border
#D1D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #A2A952

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

Preview Lab → · Contrast checker → · Palette generator →

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