#A2A548#A2A548

#A2A548 is a light, moderate yellow. Relative luminance 0.351; OKLCH L 70.0% C 0.117 H 110.8°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#A2A548
RGBrgb(162, 165, 72)
HSLhsl(62, 39%, 46%)
HSVhsv(62, 56%, 65%)
CMYKcmyk(1.8%, 0%, 56.4%, 35.3%)
CIE-LABlab(65.80, -13.94, 46.92)
CIE-LCHlch(65.80, 48.95, 106.54°)
OKLaboklab(70.03% -0.0413 0.109)
OKLCHoklch(70.03% 0.117 110.8)
XYZxyz(29.5259, 35.0602, 11.3416)
Luminance0.3506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A548 #4B48A5
analogous
#A57A48 #A2A548 #74A548
triadic
#A2A548 #48A2A5 #A548A2
tetradic
#A2A548 #48A57A #4B48A5 #A54874
square
#A2A548 #48A57A #4B48A5 #A54874
split-complementary
#A2A548 #4874A5 #7A48A5
monochromatic
#4E5023 #787A35 #A2A548 #BCBF6C #CFD196

Accessibility & contrast

On white

2.62
#A2A548 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#A2A548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A548
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A548#FFFFFF#000000##000000
##A2A5481.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E3E
Deuteranopia (green-blind)
#B1A14D
Tritanopia (blue-blind)
#AC9C91
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a2a548;
/* rgb */ color: rgb(162, 165, 72);
/* oklch */ color: oklch(70.0% 0.117 110.8);
Tailwind
colors: {
  custom: {
    50: '#c0bf7e',
    500: '#a2a548',
    950: '#000000',
  },
}
SCSS
$custom: #a2a548;
$custom-light: #c0bf7e;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a548",
  "rgb": {
    "r": 162,
    "g": 165,
    "b": 72
  },
  "hsl": {
    "h": 61.935,
    "s": 39.241,
    "l": 46.471
  },
  "oklch": {
    "l": 0.70031,
    "c": 0.11651,
    "h": 110.8
  },
  "luminance": 0.3506
}

Semantic roles & 50–950 ramp

primary
#A2A548
secondary
#8D8CBD
accent
#59CF5C
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #A2A548

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

Preview Lab → · Contrast checker → · Palette generator →

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