#A6AD26#A6AD26

#A6AD26 is a light, vivid yellow. Relative luminance 0.381; OKLCH L 71.9% C 0.149 H 112.7°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#A6AD26
RGBrgb(166, 173, 38)
HSLhsl(63, 64%, 41%)
HSVhsv(63, 78%, 68%)
CMYKcmyk(4%, 0%, 78%, 32.2%)
CIE-LABlab(68.12, -18.34, 62.83)
CIE-LCHlch(68.12, 65.45, 106.27°)
OKLaboklab(71.89% -0.0573 0.1371)
OKLCHoklch(71.89% 0.149 112.7)
XYZxyz(31.0203, 38.1348, 7.5600)
Luminance0.3813 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AD26 #2D26AD
analogous
#AD7126 #A6AD26 #63AD26
triadic
#A6AD26 #26A6AD #AD26A6
tetradic
#A6AD26 #26AD71 #2D26AD #AD2663
square
#A6AD26 #26AD71 #2D26AD #AD2663
split-complementary
#A6AD26 #2663AD #7126AD
monochromatic
#464910 #767B1B #A6AD26 #CCD43C #D9DF6E

Accessibility & contrast

On white

2.43
#A6AD26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#A6AD26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6AD26
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6AD26#FFFFFF#000000##000000
##A6AD261.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA500
Deuteranopia (green-blind)
#BBA732
Tritanopia (blue-blind)
#B2A294
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a6ad26;
/* rgb */ color: rgb(166, 173, 38);
/* oklch */ color: oklch(71.9% 0.149 112.7);
Tailwind
colors: {
  custom: {
    50: '#c4c56d',
    500: '#a6ad26',
    950: '#000000',
  },
}
SCSS
$custom: #a6ad26;
$custom-light: #c4c56d;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ad26",
  "rgb": {
    "r": 166,
    "g": 173,
    "b": 38
  },
  "hsl": {
    "h": 63.111,
    "s": 63.981,
    "l": 41.373
  },
  "oklch": {
    "l": 0.71889,
    "c": 0.14859,
    "h": 112.7
  },
  "luminance": 0.38134
}

Semantic roles & 50–950 ramp

primary
#A6AD26
secondary
#6E69C6
accent
#41E749
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A6AD26

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

Preview Lab → · Contrast checker → · Palette generator →

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