#A2A926#A2A926

#A2A926 is a light, vivid yellow. Relative luminance 0.362; OKLCH L 70.7% C 0.146 H 112.7°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#A2A926
RGBrgb(162, 169, 38)
HSLhsl(63, 63%, 41%)
HSVhsv(63, 78%, 66%)
CMYKcmyk(4.1%, 0%, 77.5%, 33.7%)
CIE-LABlab(66.67, -18.04, 61.40)
CIE-LCHlch(66.67, 64.00, 106.38°)
OKLaboklab(70.65% -0.0562 0.1342)
OKLCHoklch(70.65% 0.146 112.7)
XYZxyz(29.4391, 36.1979, 7.2695)
Luminance0.3620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A926 #2D26A9
analogous
#A96E26 #A2A926 #60A926
triadic
#A2A926 #26A2A9 #A926A2
tetradic
#A2A926 #26A96E #2D26A9 #A92660
square
#A2A926 #26A96E #2D26A9 #A92660
split-complementary
#A2A926 #2660A9 #6E26A9
monochromatic
#424510 #72771B #A2A926 #CAD33A #D8DE6C

Accessibility & contrast

On white

2.55
#A2A926 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#A2A926 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A926
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A926#FFFFFF#000000##000000
##A2A9261.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A100
Deuteranopia (green-blind)
#B6A432
Tritanopia (blue-blind)
#AD9E91
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a2a926;
/* rgb */ color: rgb(162, 169, 38);
/* oklch */ color: oklch(70.7% 0.146 112.7);
Tailwind
colors: {
  custom: {
    50: '#c1c26c',
    500: '#a2a926',
    950: '#000000',
  },
}
SCSS
$custom: #a2a926;
$custom-light: #c1c26c;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a926",
  "rgb": {
    "r": 162,
    "g": 169,
    "b": 38
  },
  "hsl": {
    "h": 63.206,
    "s": 63.285,
    "l": 40.588
  },
  "oklch": {
    "l": 0.7065,
    "c": 0.14553,
    "h": 112.7
  },
  "luminance": 0.36197
}

Semantic roles & 50–950 ramp

primary
#A2A926
secondary
#6C67C4
accent
#41E64A
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A2A926

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

Preview Lab → · Contrast checker → · Palette generator →

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