#A2A126#A2A126

#A2A126 is a light, vivid yellow. Relative luminance 0.333; OKLCH L 68.8% C 0.137 H 109.0°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#A2A126
RGBrgb(162, 161, 38)
HSLhsl(60, 62%, 39%)
HSVhsv(60, 77%, 64%)
CMYKcmyk(0%, 0.6%, 76.5%, 36.5%)
CIE-LABlab(64.41, -13.93, 59.34)
CIE-LCHlch(64.41, 60.95, 103.21°)
OKLaboklab(68.84% -0.0448 0.1298)
OKLCHoklch(68.84% 0.137 109)
XYZxyz(27.9961, 33.3119, 6.7885)
Luminance0.3331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A126 #2627A2
analogous
#A26326 #A2A126 #65A226
triadic
#A2A126 #26A2A1 #A126A2
tetradic
#A2A126 #26A263 #2627A2 #A22665
square
#A2A126 #26A263 #2627A2 #A22665
split-complementary
#A2A126 #2665A2 #6326A2
monochromatic
#3F3E0F #70701A #A2A126 #D0CE35 #DBDA67

Accessibility & contrast

On white

2.74
#A2A126 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#A2A126 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A126
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A126#FFFFFF#000000##000000
##A2A1261.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A06
Deuteranopia (green-blind)
#B09E30
Tritanopia (blue-blind)
#AE968A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a2a126;
/* rgb */ color: rgb(162, 161, 38);
/* oklch */ color: oklch(68.8% 0.137 109.0);
Tailwind
colors: {
  custom: {
    50: '#c1bc6b',
    500: '#a2a126',
    950: '#000000',
  },
}
SCSS
$custom: #a2a126;
$custom-light: #c1bc6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a126",
  "rgb": {
    "r": 162,
    "g": 161,
    "b": 38
  },
  "hsl": {
    "h": 59.516,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.68844,
    "c": 0.13735,
    "h": 109
  },
  "luminance": 0.33311
}

Semantic roles & 50–950 ramp

primary
#A2A126
secondary
#6363C1
accent
#44E543
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A2A126

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

Preview Lab → · Contrast checker → · Palette generator →

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