#A2A154#A2A154

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

Color values

HEX#A2A154
RGBrgb(162, 161, 84)
HSLhsl(59, 32%, 48%)
HSVhsv(59, 48%, 64%)
CMYKcmyk(0%, 0.6%, 48.1%, 36.5%)
CIE-LABlab(64.81, -10.78, 39.92)
CIE-LCHlch(64.81, 41.35, 105.11°)
OKLaboklab(69.29% -0.031 0.095)
OKLCHoklch(69.29% 0.1 108.1)
XYZxyz(29.2460, 33.8119, 13.3715)
Luminance0.3381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A154 #5455A2
analogous
#A27A54 #A2A154 #7CA254
triadic
#A2A154 #54A2A1 #A154A2
tetradic
#A2A154 #54A27A #5455A2 #A2547C
square
#A2A154 #54A27A #5455A2 #A2547C
split-complementary
#A2A154 #547CA2 #7A54A2
monochromatic
#51512A #7A793F #A2A154 #BAB979 #CFCEA2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2A154#FFFFFF#000000##000000
##A2A1541.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)
#AC9C4D
Deuteranopia (green-blind)
#AD9F58
Tritanopia (blue-blind)
#AC998F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a2a154;
/* rgb */ color: rgb(162, 161, 84);
/* oklch */ color: oklch(69.3% 0.100 108.1);
Tailwind
colors: {
  custom: {
    50: '#bfbc86',
    500: '#a2a154',
    950: '#000000',
  },
}
SCSS
$custom: #a2a154;
$custom-light: #bfbc86;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a154",
  "rgb": {
    "r": 162,
    "g": 161,
    "b": 84
  },
  "hsl": {
    "h": 59.231,
    "s": 31.707,
    "l": 48.235
  },
  "oklch": {
    "l": 0.69291,
    "c": 0.09991,
    "h": 108.1
  },
  "luminance": 0.33811
}

Semantic roles & 50–950 ramp

primary
#A2A154
secondary
#9696BC
accent
#61C860
background
#FBFBF8
surface
#F7F6EF
border
#D0D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #A2A154

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

Preview Lab → · Contrast checker → · Palette generator →

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