#A2A826#A2A826

#A2A826 is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.4% C 0.144 H 112.3°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#A2A826
RGBrgb(162, 168, 38)
HSLhsl(63, 63%, 40%)
HSVhsv(63, 77%, 66%)
CMYKcmyk(3.6%, 0%, 77.4%, 34.1%)
CIE-LABlab(66.39, -17.53, 61.14)
CIE-LCHlch(66.39, 63.61, 106.00°)
OKLaboklab(70.42% -0.0548 0.1337)
OKLCHoklch(70.42% 0.144 112.3)
XYZxyz(29.2538, 35.8273, 7.2077)
Luminance0.3583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A826 #2C26A8
analogous
#A86D26 #A2A826 #61A826
triadic
#A2A826 #26A2A8 #A826A2
tetradic
#A2A826 #26A86D #2C26A8 #A82661
square
#A2A826 #26A86D #2C26A8 #A82661
split-complementary
#A2A826 #2661A8 #6D26A8
monochromatic
#42440F #72761B #A2A826 #CBD239 #D8DE6B

Accessibility & contrast

On white

2.57
#A2A826 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#A2A826 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A826
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A826#FFFFFF#000000##000000
##A2A8261.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#B6A332
Tritanopia (blue-blind)
#AD9D90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a2a826;
/* rgb */ color: rgb(162, 168, 38);
/* oklch */ color: oklch(70.4% 0.144 112.3);
Tailwind
colors: {
  custom: {
    50: '#c1c16c',
    500: '#a2a826',
    950: '#000000',
  },
}
SCSS
$custom: #a2a826;
$custom-light: #c1c16c;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a826",
  "rgb": {
    "r": 162,
    "g": 168,
    "b": 38
  },
  "hsl": {
    "h": 62.769,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.70423,
    "c": 0.14448,
    "h": 112.3
  },
  "luminance": 0.35827
}

Semantic roles & 50–950 ramp

primary
#A2A826
secondary
#6A66C4
accent
#42E649
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A2A826

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

Preview Lab → · Contrast checker → · Palette generator →

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