#A6A326#A6A326

#A6A326 is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.6% C 0.139 H 108.1°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#A6A326
RGBrgb(166, 163, 38)
HSLhsl(59, 63%, 40%)
HSVhsv(59, 77%, 65%)
CMYKcmyk(0%, 1.8%, 77.1%, 34.9%)
CIE-LABlab(65.31, -13.20, 60.28)
CIE-LCHlch(65.31, 61.71, 102.35°)
OKLaboklab(69.64% -0.043 0.1317)
OKLCHoklch(69.64% 0.139 108.1)
XYZxyz(29.1741, 34.4423, 6.9446)
Luminance0.3444 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A326 #2629A6
analogous
#A66326 #A6A326 #69A626
triadic
#A6A326 #26A6A3 #A326A6
tetradic
#A6A326 #26A663 #2629A6 #A62669
square
#A6A326 #26A663 #2629A6 #A62669
split-complementary
#A6A326 #2669A6 #6326A6
monochromatic
#42410F #74721B #A6A326 #D1CE38 #DDDA6A

Accessibility & contrast

On white

2.66
#A6A326 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#A6A326 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A326
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A326#FFFFFF#000000##000000
##A6A3261.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C04
Deuteranopia (green-blind)
#B3A130
Tritanopia (blue-blind)
#B2988C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a6a326;
/* rgb */ color: rgb(166, 163, 38);
/* oklch */ color: oklch(69.6% 0.139 108.1);
Tailwind
colors: {
  custom: {
    50: '#c4be6b',
    500: '#a6a326',
    950: '#000000',
  },
}
SCSS
$custom: #a6a326;
$custom-light: #c4be6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a326",
  "rgb": {
    "r": 166,
    "g": 163,
    "b": 38
  },
  "hsl": {
    "h": 58.594,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.69644,
    "c": 0.13852,
    "h": 108.1
  },
  "luminance": 0.34441
}

Semantic roles & 50–950 ramp

primary
#A6A326
secondary
#6567C3
accent
#46E642
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A6A326

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

Preview Lab → · Contrast checker → · Palette generator →

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