#A6A626#A6A626

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

Color values

HEX#A6A626
RGBrgb(166, 166, 38)
HSLhsl(60, 63%, 40%)
HSVhsv(60, 77%, 65%)
CMYKcmyk(0%, 0%, 77.1%, 34.9%)
CIE-LABlab(66.15, -14.76, 61.05)
CIE-LCHlch(66.15, 62.81, 103.59°)
OKLaboklab(70.32% -0.0473 0.1333)
OKLCHoklch(70.32% 0.141 109.5)
XYZxyz(29.7131, 35.5203, 7.1243)
Luminance0.3552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A626 #2626A6
analogous
#A66626 #A6A626 #66A626
triadic
#A6A626 #26A6A6 #A626A6
tetradic
#A6A626 #26A666 #2626A6 #A62666
square
#A6A626 #26A666 #2626A6 #A62666
split-complementary
#A6A626 #2666A6 #6626A6
monochromatic
#42420F #74741B #A6A626 #D1D138 #DDDD6A

Accessibility & contrast

On white

2.59
#A6A626 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#A6A626 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A626
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A626#FFFFFF#000000##000000
##A6A6261.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F02
Deuteranopia (green-blind)
#B5A331
Tritanopia (blue-blind)
#B29B8E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a6a626;
/* rgb */ color: rgb(166, 166, 38);
/* oklch */ color: oklch(70.3% 0.141 109.5);
Tailwind
colors: {
  custom: {
    50: '#c4c06c',
    500: '#a6a626',
    950: '#000000',
  },
}
SCSS
$custom: #a6a626;
$custom-light: #c4c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a626",
  "rgb": {
    "r": 166,
    "g": 166,
    "b": 38
  },
  "hsl": {
    "h": 60,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.70315,
    "c": 0.14146,
    "h": 109.5
  },
  "luminance": 0.35519
}

Semantic roles & 50–950 ramp

primary
#A6A626
secondary
#6565C3
accent
#42E642
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A6A626

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

Preview Lab → · Contrast checker → · Palette generator →

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