#A2A825#A2A825

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

Color values

HEX#A2A825
RGBrgb(162, 168, 37)
HSLhsl(63, 64%, 40%)
HSVhsv(63, 78%, 66%)
CMYKcmyk(3.6%, 0%, 78%, 34.1%)
CIE-LABlab(66.38, -17.57, 61.45)
CIE-LCHlch(66.38, 63.91, 105.96°)
OKLaboklab(70.42% -0.055 0.1341)
OKLCHoklch(70.42% 0.145 112.3)
XYZxyz(29.2378, 35.8209, 7.1239)
Luminance0.3582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A825 #2B25A8
analogous
#A86C25 #A2A825 #61A825
triadic
#A2A825 #25A2A8 #A825A2
tetradic
#A2A825 #25A86C #2B25A8 #A82561
square
#A2A825 #25A86C #2B25A8 #A82561
split-complementary
#A2A825 #2561A8 #6C25A8
monochromatic
#41440F #72761A #A2A825 #CCD337 #D9DE69

Accessibility & contrast

On white

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

On black

8.16
#A2A825 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A825
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A825#FFFFFF#000000##000000
##A2A8251.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2a825;
/* rgb */ color: rgb(162, 168, 37);
/* oklch */ color: oklch(70.4% 0.145 112.3);
Tailwind
colors: {
  custom: {
    50: '#c1c16b',
    500: '#a2a825',
    950: '#000000',
  },
}
SCSS
$custom: #a2a825;
$custom-light: #c1c16b;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a825",
  "rgb": {
    "r": 162,
    "g": 168,
    "b": 37
  },
  "hsl": {
    "h": 62.748,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.70418,
    "c": 0.14499,
    "h": 112.3
  },
  "luminance": 0.3582
}

Semantic roles & 50–950 ramp

primary
#A2A825
secondary
#6965C4
accent
#41E748
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A2A825

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

Preview Lab → · Contrast checker → · Palette generator →

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