#A2A640#A2A640

#A2A640 is a light, vivid yellow. Relative luminance 0.353; OKLCH L 70.2% C 0.125 H 111.3°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#A2A640
RGBrgb(162, 166, 64)
HSLhsl(62, 44%, 45%)
HSVhsv(62, 61%, 65%)
CMYKcmyk(2.4%, 0%, 61.4%, 34.9%)
CIE-LABlab(66.00, -15.06, 50.80)
CIE-LCHlch(66.00, 52.98, 106.52°)
OKLaboklab(70.17% -0.0453 0.1162)
OKLCHoklch(70.17% 0.125 111.3)
XYZxyz(29.4627, 35.3247, 10.1158)
Luminance0.3532 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A640 #4440A6
analogous
#A67740 #A2A640 #6FA640
triadic
#A2A640 #40A2A6 #A640A2
tetradic
#A2A640 #40A677 #4440A6 #A6406F
square
#A2A640 #40A677 #4440A6 #A6406F
split-complementary
#A2A640 #406FA6 #7740A6
monochromatic
#4C4E1E #777A2F #A2A640 #BEC261 #D0D38D

Accessibility & contrast

On white

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

On black

8.06
#A2A640 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A640
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A640#FFFFFF#000000##000000
##A2A6401.002.608.068.06
#FFFFFF2.601.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F34
Deuteranopia (green-blind)
#B3A246
Tritanopia (blue-blind)
#AC9C90
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a2a640;
/* rgb */ color: rgb(162, 166, 64);
/* oklch */ color: oklch(70.2% 0.125 111.3);
Tailwind
colors: {
  custom: {
    50: '#c0c079',
    500: '#a2a640',
    950: '#000000',
  },
}
SCSS
$custom: #a2a640;
$custom-light: #c0c079;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a640",
  "rgb": {
    "r": 162,
    "g": 166,
    "b": 64
  },
  "hsl": {
    "h": 62.353,
    "s": 44.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.7017,
    "c": 0.12471,
    "h": 111.3
  },
  "luminance": 0.35324
}

Semantic roles & 50–950 ramp

primary
#A2A640
secondary
#8684BE
accent
#54D459
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A2A640

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

Preview Lab → · Contrast checker → · Palette generator →

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