#A2A440#A2A440

#A2A440 is a light, vivid yellow. Relative luminance 0.346; OKLCH L 69.7% C 0.122 H 110.3°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#A2A440
RGBrgb(162, 164, 64)
HSLhsl(61, 44%, 45%)
HSVhsv(61, 61%, 64%)
CMYKcmyk(1.2%, 0%, 61%, 35.7%)
CIE-LABlab(65.44, -14.03, 50.19)
CIE-LCHlch(65.44, 52.11, 105.61°)
OKLaboklab(69.72% -0.0424 0.1149)
OKLCHoklch(69.72% 0.122 110.3)
XYZxyz(29.1020, 34.6032, 9.9956)
Luminance0.3460 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A440 #4240A4
analogous
#A47440 #A2A440 #70A440
triadic
#A2A440 #40A2A4 #A440A2
tetradic
#A2A440 #40A474 #4240A4 #A44070
square
#A2A440 #40A474 #4240A4 #A44070
split-complementary
#A2A440 #4070A4 #7440A4
monochromatic
#4B4C1E #77782F #A2A440 #BFC160 #D1D28C

Accessibility & contrast

On white

2.65
#A2A440 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#A2A440 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A440
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A440#FFFFFF#000000##000000
##A2A4401.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D34
Deuteranopia (green-blind)
#B1A046
Tritanopia (blue-blind)
#AD9A8F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a2a440;
/* rgb */ color: rgb(162, 164, 64);
/* oklch */ color: oklch(69.7% 0.122 110.3);
Tailwind
colors: {
  custom: {
    50: '#c0be79',
    500: '#a2a440',
    950: '#000000',
  },
}
SCSS
$custom: #a2a440;
$custom-light: #c0be79;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a440",
  "rgb": {
    "r": 162,
    "g": 164,
    "b": 64
  },
  "hsl": {
    "h": 61.2,
    "s": 43.86,
    "l": 44.706
  },
  "oklch": {
    "l": 0.69721,
    "c": 0.12247,
    "h": 110.3
  },
  "luminance": 0.34602
}

Semantic roles & 50–950 ramp

primary
#A2A440
secondary
#8483BD
accent
#54D457
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A2A440

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

Preview Lab → · Contrast checker → · Palette generator →

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