#A2A462#A2A462

#A2A462 is a light, moderate yellow. Relative luminance 0.351; OKLCH L 70.2% C 0.088 H 110.0°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#A2A462
RGBrgb(162, 164, 98)
HSLhsl(62, 27%, 51%)
HSVhsv(62, 40%, 64%)
CMYKcmyk(1.2%, 0%, 40.2%, 35.7%)
CIE-LABlab(65.84, -10.88, 33.98)
CIE-LCHlch(65.84, 35.68, 107.76°)
OKLaboklab(70.17% -0.03 0.0827)
OKLCHoklch(70.17% 0.088 110)
XYZxyz(30.3807, 35.1147, 16.7303)
Luminance0.3511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A462 #6462A4
analogous
#A48562 #A2A462 #81A462
triadic
#A2A462 #62A2A4 #A462A2
tetradic
#A2A462 #62A485 #6462A4 #A46281
square
#A2A462 #62A485 #6462A4 #A46281
split-complementary
#A2A462 #6281A4 #8562A4
monochromatic
#575833 #7E7F4A #A2A462 #B9BA89 #D0D1AF

Accessibility & contrast

On white

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

On black

8.02
#A2A462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A462
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A462#FFFFFF#000000##000000
##A2A4621.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9F5D
Deuteranopia (green-blind)
#AEA165
Tritanopia (blue-blind)
#AA9D94
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a2a462;
/* rgb */ color: rgb(162, 164, 98);
/* oklch */ color: oklch(70.2% 0.088 110.0);
Tailwind
colors: {
  custom: {
    50: '#bebe90',
    500: '#a2a462',
    950: '#000000',
  },
}
SCSS
$custom: #a2a462;
$custom-light: #bebe90;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a462",
  "rgb": {
    "r": 162,
    "g": 164,
    "b": 98
  },
  "hsl": {
    "h": 61.818,
    "s": 26.613,
    "l": 51.373
  },
  "oklch": {
    "l": 0.70169,
    "c": 0.08795,
    "h": 110
  },
  "luminance": 0.35114
}

Semantic roles & 50–950 ramp

primary
#A2A462
secondary
#A3A2BF
accent
#65C368
background
#FBFBF8
surface
#F7F6F0
border
#D0D0CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #A2A462

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

Preview Lab → · Contrast checker → · Palette generator →

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