#A2A151#A2A151

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

Color values

HEX#A2A151
RGBrgb(162, 161, 81)
HSLhsl(59, 33%, 48%)
HSVhsv(59, 50%, 64%)
CMYKcmyk(0%, 0.6%, 50%, 36.5%)
CIE-LABlab(64.78, -11.06, 41.38)
CIE-LCHlch(64.78, 42.83, 104.96°)
OKLaboklab(69.25% -0.0321 0.0979)
OKLCHoklch(69.25% 0.103 108.2)
XYZxyz(29.1310, 33.7659, 12.7659)
Luminance0.3377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A151 #5152A2
analogous
#A27851 #A2A151 #7BA251
triadic
#A2A151 #51A2A1 #A151A2
tetradic
#A2A151 #51A278 #5152A2 #A2517B
square
#A2A151 #51A278 #5152A2 #A2517B
split-complementary
#A2A151 #517BA2 #7851A2
monochromatic
#505028 #79783D #A2A151 #BABA76 #CFCE9F

Accessibility & contrast

On white

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

On black

7.75
#A2A151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A151
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A151#FFFFFF#000000##000000
##A2A1511.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2a151;
/* rgb */ color: rgb(162, 161, 81);
/* oklch */ color: oklch(69.3% 0.103 108.2);
Tailwind
colors: {
  custom: {
    50: '#bfbc84',
    500: '#a2a151',
    950: '#000000',
  },
}
SCSS
$custom: #a2a151;
$custom-light: #bfbc84;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a151",
  "rgb": {
    "r": 162,
    "g": 161,
    "b": 81
  },
  "hsl": {
    "h": 59.259,
    "s": 33.333,
    "l": 47.647
  },
  "oklch": {
    "l": 0.6925,
    "c": 0.10306,
    "h": 108.2
  },
  "luminance": 0.33765
}

Semantic roles & 50–950 ramp

primary
#A2A151
secondary
#9393BC
accent
#60C95E
background
#FCFBF8
surface
#F8F6EF
border
#D1D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #A2A151

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

Preview Lab → · Contrast checker → · Palette generator →

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