#A2A426#A2A426

#A2A426 is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.5% C 0.140 H 110.5°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#A2A426
RGBrgb(162, 164, 38)
HSLhsl(61, 62%, 40%)
HSVhsv(61, 77%, 64%)
CMYKcmyk(1.2%, 0%, 76.8%, 35.7%)
CIE-LABlab(65.26, -15.48, 60.11)
CIE-LCHlch(65.26, 62.07, 104.44°)
OKLaboklab(69.52% -0.0491 0.1315)
OKLCHoklch(69.52% 0.14 110.5)
XYZxyz(28.5266, 34.3731, 6.9653)
Luminance0.3437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A426 #2826A4
analogous
#A46726 #A2A426 #63A426
triadic
#A2A426 #26A2A4 #A426A2
tetradic
#A2A426 #26A467 #2826A4 #A42663
square
#A2A426 #26A467 #2826A4 #A42663
split-complementary
#A2A426 #2663A4 #6726A4
monochromatic
#40410F #71721A #A2A426 #CED137 #DADC68

Accessibility & contrast

On white

2.67
#A2A426 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#A2A426 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A426
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A426#FFFFFF#000000##000000
##A2A4261.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D04
Deuteranopia (green-blind)
#B2A031
Tritanopia (blue-blind)
#AE998C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a2a426;
/* rgb */ color: rgb(162, 164, 38);
/* oklch */ color: oklch(69.5% 0.140 110.5);
Tailwind
colors: {
  custom: {
    50: '#c1be6b',
    500: '#a2a426',
    950: '#000000',
  },
}
SCSS
$custom: #a2a426;
$custom-light: #c1be6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a426",
  "rgb": {
    "r": 162,
    "g": 164,
    "b": 38
  },
  "hsl": {
    "h": 60.952,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.69519,
    "c": 0.14035,
    "h": 110.5
  },
  "luminance": 0.34372
}

Semantic roles & 50–950 ramp

primary
#A2A426
secondary
#6564C2
accent
#42E545
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A2A426

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

Preview Lab → · Contrast checker → · Palette generator →

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