#A8A829#A8A829

#A8A829 is a light, vivid yellow. Relative luminance 0.365; OKLCH L 71.0% C 0.141 H 109.5°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#A8A829
RGBrgb(168, 168, 41)
HSLhsl(60, 61%, 41%)
HSVhsv(60, 76%, 66%)
CMYKcmyk(0%, 0%, 75.6%, 34.1%)
CIE-LABlab(66.89, -14.79, 60.82)
CIE-LCHlch(66.89, 62.59, 103.67°)
OKLaboklab(70.95% -0.0473 0.1333)
OKLCHoklch(70.95% 0.141 109.5)
XYZxyz(30.5525, 36.4911, 7.5315)
Luminance0.3649 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A829 #2929A8
analogous
#A86829 #A8A829 #68A829
triadic
#A8A829 #29A8A8 #A829A8
tetradic
#A8A829 #29A868 #2929A8 #A82968
square
#A8A829 #29A868 #2929A8 #A82968
split-complementary
#A8A829 #2968A8 #6829A8
monochromatic
#464611 #77771D #A8A829 #D0D03E #DCDC6F

Accessibility & contrast

On white

2.53
#A8A829 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#A8A829 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A829
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A829#FFFFFF#000000##000000
##A8A8291.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A10A
Deuteranopia (green-blind)
#B7A533
Tritanopia (blue-blind)
#B49D90
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a8a829;
/* rgb */ color: rgb(168, 168, 41);
/* oklch */ color: oklch(71.0% 0.141 109.5);
Tailwind
colors: {
  custom: {
    50: '#c5c16d',
    500: '#a8a829',
    950: '#000000',
  },
}
SCSS
$custom: #a8a829;
$custom-light: #c5c16d;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a829",
  "rgb": {
    "r": 168,
    "g": 168,
    "b": 41
  },
  "hsl": {
    "h": 60,
    "s": 60.766,
    "l": 40.98
  },
  "oklch": {
    "l": 0.70953,
    "c": 0.14144,
    "h": 109.5
  },
  "luminance": 0.3649
}

Semantic roles & 50–950 ramp

primary
#A8A829
secondary
#6A6AC3
accent
#44E444
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A829

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

Preview Lab → · Contrast checker → · Palette generator →

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