#A2A648#A2A648

#A2A648 is a light, moderate yellow. Relative luminance 0.354; OKLCH L 70.3% C 0.118 H 111.3°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#A2A648
RGBrgb(162, 166, 72)
HSLhsl(63, 39%, 47%)
HSVhsv(63, 57%, 65%)
CMYKcmyk(2.4%, 0%, 56.6%, 34.9%)
CIE-LABlab(66.08, -14.46, 47.24)
CIE-LCHlch(66.08, 49.40, 107.01°)
OKLaboklab(70.26% -0.0428 0.1096)
OKLCHoklch(70.26% 0.118 111.3)
XYZxyz(29.7069, 35.4223, 11.4019)
Luminance0.3542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A648 #4C48A6
analogous
#A67B48 #A2A648 #73A648
triadic
#A2A648 #48A2A6 #A648A2
tetradic
#A2A648 #48A67B #4C48A6 #A64873
square
#A2A648 #48A67B #4C48A6 #A64873
split-complementary
#A2A648 #4873A6 #7B48A6
monochromatic
#4F5123 #787B35 #A2A648 #BCBF6C #CFD297

Accessibility & contrast

On white

2.60
#A2A648 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#A2A648 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A648
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A648#FFFFFF#000000##000000
##A2A6481.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F3E
Deuteranopia (green-blind)
#B2A24D
Tritanopia (blue-blind)
#AC9D91
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a2a648;
/* rgb */ color: rgb(162, 166, 72);
/* oklch */ color: oklch(70.3% 0.118 111.3);
Tailwind
colors: {
  custom: {
    50: '#c0c07e',
    500: '#a2a648',
    950: '#000000',
  },
}
SCSS
$custom: #a2a648;
$custom-light: #c0c07e;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a648",
  "rgb": {
    "r": 162,
    "g": 166,
    "b": 72
  },
  "hsl": {
    "h": 62.553,
    "s": 39.496,
    "l": 46.667
  },
  "oklch": {
    "l": 0.70255,
    "c": 0.11767,
    "h": 111.3
  },
  "luminance": 0.35422
}

Semantic roles & 50–950 ramp

primary
#A2A648
secondary
#8E8CBE
accent
#58CF5D
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #A2A648

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

Preview Lab → · Contrast checker → · Palette generator →

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