#A2A326#A2A326

#A2A326 is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.3% C 0.139 H 110.0°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#A2A326
RGBrgb(162, 163, 38)
HSLhsl(60, 62%, 39%)
HSVhsv(60, 77%, 64%)
CMYKcmyk(0.6%, 0%, 76.7%, 36.1%)
CIE-LABlab(64.98, -14.97, 59.85)
CIE-LCHlch(64.98, 61.70, 104.04°)
OKLaboklab(69.29% -0.0477 0.1309)
OKLCHoklch(69.29% 0.139 110)
XYZxyz(28.3484, 34.0165, 6.9059)
Luminance0.3402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A326 #2726A3
analogous
#A36626 #A2A326 #64A326
triadic
#A2A326 #26A2A3 #A326A2
tetradic
#A2A326 #26A366 #2726A3 #A32664
square
#A2A326 #26A366 #2726A3 #A32664
split-complementary
#A2A326 #2664A3 #6626A3
monochromatic
#3F400F #71711A #A2A326 #CFD036 #DBDC68

Accessibility & contrast

On white

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

On black

7.80
#A2A326 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A326
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A326#FFFFFF#000000##000000
##A2A3261.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C04
Deuteranopia (green-blind)
#B29F31
Tritanopia (blue-blind)
#AE988C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a2a326;
/* rgb */ color: rgb(162, 163, 38);
/* oklch */ color: oklch(69.3% 0.139 110.0);
Tailwind
colors: {
  custom: {
    50: '#c1be6b',
    500: '#a2a326',
    950: '#000000',
  },
}
SCSS
$custom: #a2a326;
$custom-light: #c1be6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a326",
  "rgb": {
    "r": 162,
    "g": 163,
    "b": 38
  },
  "hsl": {
    "h": 60.48,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.69293,
    "c": 0.13934,
    "h": 110
  },
  "luminance": 0.34016
}

Semantic roles & 50–950 ramp

primary
#A2A326
secondary
#6463C2
accent
#43E544
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A2A326

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

Preview Lab → · Contrast checker → · Palette generator →

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