#A6AB26#A6AB26

#A6AB26 is a light, vivid yellow. Relative luminance 0.374; OKLCH L 71.4% C 0.147 H 111.8°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#A6AB26
RGBrgb(166, 171, 38)
HSLhsl(62, 64%, 41%)
HSVhsv(62, 78%, 67%)
CMYKcmyk(2.9%, 0%, 77.8%, 32.9%)
CIE-LABlab(67.56, -17.32, 62.32)
CIE-LCHlch(67.56, 64.69, 105.53°)
OKLaboklab(71.44% -0.0544 0.136)
OKLCHoklch(71.44% 0.147 111.8)
XYZxyz(30.6397, 37.3735, 7.4331)
Luminance0.3737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AB26 #2B26AB
analogous
#AB6D26 #A6AB26 #63AB26
triadic
#A6AB26 #26A6AB #AB26A6
tetradic
#A6AB26 #26AB6D #2B26AB #AB2663
square
#A6AB26 #26AB6D #2B26AB #AB2663
split-complementary
#A6AB26 #2663AB #6D26AB
monochromatic
#454710 #75791B #A6AB26 #CED33B #DADF6D

Accessibility & contrast

On white

2.48
#A6AB26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#A6AB26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6AB26
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6AB26#FFFFFF#000000##000000
##A6AB261.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#B9A632
Tritanopia (blue-blind)
#B2A092
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a6ab26;
/* rgb */ color: rgb(166, 171, 38);
/* oklch */ color: oklch(71.4% 0.147 111.8);
Tailwind
colors: {
  custom: {
    50: '#c4c36c',
    500: '#a6ab26',
    950: '#000000',
  },
}
SCSS
$custom: #a6ab26;
$custom-light: #c4c36c;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ab26",
  "rgb": {
    "r": 166,
    "g": 171,
    "b": 38
  },
  "hsl": {
    "h": 62.256,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.71438,
    "c": 0.14652,
    "h": 111.8
  },
  "luminance": 0.37373
}

Semantic roles & 50–950 ramp

primary
#A6AB26
secondary
#6B68C5
accent
#41E747
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A6AB26

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

Preview Lab → · Contrast checker → · Palette generator →

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