#A2A829#A2A829

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

Color values

HEX#A2A829
RGBrgb(162, 168, 41)
HSLhsl(63, 61%, 41%)
HSVhsv(63, 76%, 66%)
CMYKcmyk(3.6%, 0%, 75.6%, 34.1%)
CIE-LABlab(66.40, -17.41, 60.19)
CIE-LCHlch(66.40, 62.66, 106.13°)
OKLaboklab(70.44% -0.0542 0.1322)
OKLCHoklch(70.44% 0.143 112.3)
XYZxyz(29.3041, 35.8474, 7.4730)
Luminance0.3585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A829 #2F29A8
analogous
#A86E29 #A2A829 #62A829
triadic
#A2A829 #29A2A8 #A829A2
tetradic
#A2A829 #29A86E #2F29A8 #A82962
square
#A2A829 #29A86E #2F29A8 #A82962
split-complementary
#A2A829 #2962A8 #6E29A8
monochromatic
#434611 #73771D #A2A829 #C9D03E #D7DC6F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2A829#FFFFFF#000000##000000
##A2A8291.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)
#B5A00A
Deuteranopia (green-blind)
#B5A334
Tritanopia (blue-blind)
#AD9D90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a2a829;
/* rgb */ color: rgb(162, 168, 41);
/* oklch */ color: oklch(70.4% 0.143 112.3);
Tailwind
colors: {
  custom: {
    50: '#c1c16d',
    500: '#a2a829',
    950: '#000000',
  },
}
SCSS
$custom: #a2a829;
$custom-light: #c1c16d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a829",
  "rgb": {
    "r": 162,
    "g": 168,
    "b": 41
  },
  "hsl": {
    "h": 62.835,
    "s": 60.766,
    "l": 40.98
  },
  "oklch": {
    "l": 0.7044,
    "c": 0.14288,
    "h": 112.3
  },
  "luminance": 0.35847
}

Semantic roles & 50–950 ramp

primary
#A2A829
secondary
#6E6AC3
accent
#44E44B
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A2A829

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

Preview Lab → · Contrast checker → · Palette generator →

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