#A6A829#A6A829

#A6A829 is a light, vivid yellow. Relative luminance 0.363; OKLCH L 70.8% C 0.142 H 110.5°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#A6A829
RGBrgb(166, 168, 41)
HSLhsl(61, 61%, 41%)
HSVhsv(61, 76%, 66%)
CMYKcmyk(1.2%, 0%, 75.6%, 34.1%)
CIE-LABlab(66.73, -15.66, 60.61)
CIE-LCHlch(66.73, 62.60, 104.49°)
OKLaboklab(70.78% -0.0496 0.1329)
OKLCHoklch(70.78% 0.142 110.5)
XYZxyz(30.1298, 36.2732, 7.5117)
Luminance0.3627 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A829 #2B29A8
analogous
#A86A29 #A6A829 #66A829
triadic
#A6A829 #29A6A8 #A829A6
tetradic
#A6A829 #29A86A #2B29A8 #A82966
square
#A6A829 #29A86A #2B29A8 #A82966
split-complementary
#A6A829 #2966A8 #6A29A8
monochromatic
#454611 #75771D #A6A829 #CED03E #DADC6F

Accessibility & contrast

On white

2.54
#A6A829 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#A6A829 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A829
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A829#FFFFFF#000000##000000
##A6A8291.002.548.258.25
#FFFFFF2.541.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A00A
Deuteranopia (green-blind)
#B7A434
Tritanopia (blue-blind)
#B29D90
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a6a829;
/* rgb */ color: rgb(166, 168, 41);
/* oklch */ color: oklch(70.8% 0.142 110.5);
Tailwind
colors: {
  custom: {
    50: '#c4c16d',
    500: '#a6a829',
    950: '#000000',
  },
}
SCSS
$custom: #a6a829;
$custom-light: #c4c16d;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a829",
  "rgb": {
    "r": 166,
    "g": 168,
    "b": 41
  },
  "hsl": {
    "h": 60.945,
    "s": 60.766,
    "l": 40.98
  },
  "oklch": {
    "l": 0.7078,
    "c": 0.14188,
    "h": 110.5
  },
  "luminance": 0.36272
}

Semantic roles & 50–950 ramp

primary
#A6A829
secondary
#6B6AC3
accent
#44E446
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A6A829

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

Preview Lab → · Contrast checker → · Palette generator →

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