#A2A246#A2A246

#A2A246 is a light, moderate yellow. Relative luminance 0.340; OKLCH L 69.3% C 0.115 H 109.1°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#A2A246
RGBrgb(162, 162, 70)
HSLhsl(60, 40%, 45%)
HSVhsv(60, 57%, 64%)
CMYKcmyk(0%, 0%, 56.8%, 36.5%)
CIE-LABlab(64.93, -12.53, 46.89)
CIE-LCHlch(64.93, 48.54, 104.96°)
OKLaboklab(69.34% -0.0375 0.1086)
OKLCHoklch(69.34% 0.115 109.1)
XYZxyz(28.9269, 33.9650, 10.8253)
Luminance0.3396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A246 #4646A2
analogous
#A27446 #A2A246 #74A246
triadic
#A2A246 #46A2A2 #A246A2
tetradic
#A2A246 #46A274 #4646A2 #A24674
square
#A2A246 #46A274 #4646A2 #A24674
split-complementary
#A2A246 #4674A2 #7446A2
monochromatic
#4D4D21 #777734 #A2A246 #BEBE68 #D0D092

Accessibility & contrast

On white

2.69
#A2A246 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#A2A246 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A246
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A246#FFFFFF#000000##000000
##A2A2461.002.697.797.79
#FFFFFF2.691.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9C3C
Deuteranopia (green-blind)
#AF9F4B
Tritanopia (blue-blind)
#AC998E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a2a246;
/* rgb */ color: rgb(162, 162, 70);
/* oklch */ color: oklch(69.3% 0.115 109.1);
Tailwind
colors: {
  custom: {
    50: '#c0bd7d',
    500: '#a2a246',
    950: '#000000',
  },
}
SCSS
$custom: #a2a246;
$custom-light: #c0bd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a246",
  "rgb": {
    "r": 162,
    "g": 162,
    "b": 70
  },
  "hsl": {
    "h": 60,
    "s": 39.655,
    "l": 45.49
  },
  "oklch": {
    "l": 0.69338,
    "c": 0.11494,
    "h": 109.1
  },
  "luminance": 0.33964
}

Semantic roles & 50–950 ramp

primary
#A2A246
secondary
#8888BC
accent
#58D058
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #A2A246

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

Preview Lab → · Contrast checker → · Palette generator →

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