#A6A526#A6A526

#A6A526 is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.1% C 0.140 H 109.1°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#A6A526
RGBrgb(166, 165, 38)
HSLhsl(60, 63%, 40%)
HSVhsv(60, 77%, 65%)
CMYKcmyk(0%, 0.6%, 77.1%, 34.9%)
CIE-LABlab(65.87, -14.24, 60.79)
CIE-LCHlch(65.87, 62.44, 103.18°)
OKLaboklab(70.09% -0.0459 0.1328)
OKLCHoklch(70.09% 0.14 109.1)
XYZxyz(29.5320, 35.1581, 7.0639)
Luminance0.3516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A526 #2627A6
analogous
#A66526 #A6A526 #67A626
triadic
#A6A526 #26A6A5 #A526A6
tetradic
#A6A526 #26A665 #2627A6 #A62667
square
#A6A526 #26A665 #2627A6 #A62667
split-complementary
#A6A526 #2667A6 #6526A6
monochromatic
#42420F #74731B #A6A526 #D1D038 #DDDC6A

Accessibility & contrast

On white

2.61
#A6A526 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#A6A526 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A526
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A526#FFFFFF#000000##000000
##A6A5261.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E03
Deuteranopia (green-blind)
#B5A231
Tritanopia (blue-blind)
#B29A8D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a6a526;
/* rgb */ color: rgb(166, 165, 38);
/* oklch */ color: oklch(70.1% 0.140 109.1);
Tailwind
colors: {
  custom: {
    50: '#c4bf6b',
    500: '#a6a526',
    950: '#000000',
  },
}
SCSS
$custom: #a6a526;
$custom-light: #c4bf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a526",
  "rgb": {
    "r": 166,
    "g": 165,
    "b": 38
  },
  "hsl": {
    "h": 59.531,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.70091,
    "c": 0.14048,
    "h": 109.1
  },
  "luminance": 0.35157
}

Semantic roles & 50–950 ramp

primary
#A6A526
secondary
#6566C3
accent
#43E642
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A6A526

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

Preview Lab → · Contrast checker → · Palette generator →

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