#A2A152#A2A152

#A2A152 is a light, moderate yellow. Relative luminance 0.338; OKLCH L 69.3% C 0.102 H 108.1°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#A2A152
RGBrgb(162, 161, 82)
HSLhsl(59, 33%, 48%)
HSVhsv(59, 49%, 64%)
CMYKcmyk(0%, 0.6%, 49.4%, 36.5%)
CIE-LABlab(64.79, -10.97, 40.90)
CIE-LCHlch(64.79, 42.34, 105.01°)
OKLaboklab(69.26% -0.0318 0.0969)
OKLCHoklch(69.26% 0.102 108.1)
XYZxyz(29.1688, 33.7810, 12.9649)
Luminance0.3378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A152 #5253A2
analogous
#A27952 #A2A152 #7BA252
triadic
#A2A152 #52A2A1 #A152A2
tetradic
#A2A152 #52A279 #5253A2 #A2527B
square
#A2A152 #52A279 #5253A2 #A2527B
split-complementary
#A2A152 #527BA2 #7952A2
monochromatic
#515029 #79793D #A2A152 #BAB977 #CFCEA0

Accessibility & contrast

On white

2.71
#A2A152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#A2A152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A152
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A152#FFFFFF#000000##000000
##A2A1521.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9B4B
Deuteranopia (green-blind)
#AD9F56
Tritanopia (blue-blind)
#AC988F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a2a152;
/* rgb */ color: rgb(162, 161, 82);
/* oklch */ color: oklch(69.3% 0.102 108.1);
Tailwind
colors: {
  custom: {
    50: '#bfbc85',
    500: '#a2a152',
    950: '#000000',
  },
}
SCSS
$custom: #a2a152;
$custom-light: #bfbc85;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a152",
  "rgb": {
    "r": 162,
    "g": 161,
    "b": 82
  },
  "hsl": {
    "h": 59.25,
    "s": 32.787,
    "l": 47.843
  },
  "oklch": {
    "l": 0.69264,
    "c": 0.10201,
    "h": 108.1
  },
  "luminance": 0.3378
}

Semantic roles & 50–950 ramp

primary
#A2A152
secondary
#9494BC
accent
#60C95F
background
#FBFBF8
surface
#F7F6EF
border
#D0D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #A2A152

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

Preview Lab → · Contrast checker → · Palette generator →

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