#A6B41A#A6B41A

#A6B41A is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.4% C 0.161 H 115.3°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#A6B41A
RGBrgb(166, 180, 26)
HSLhsl(65, 75%, 40%)
HSVhsv(65, 86%, 71%)
CMYKcmyk(7.8%, 0%, 85.6%, 29.4%)
CIE-LABlab(70.05, -22.23, 67.64)
CIE-LCHlch(70.05, 71.21, 108.20°)
OKLaboklab(73.43% -0.0688 0.1454)
OKLCHoklch(73.43% 0.161 115.3)
XYZxyz(32.2346, 40.8247, 7.1590)
Luminance0.4082 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B41A #281AB4
analogous
#B4751A #A6B41A #59B41A
triadic
#A6B41A #1AA6B4 #B41AA6
tetradic
#A6B41A #1AB475 #281AB4 #B41A59
square
#A6B41A #1AB475 #281AB4 #B41A59
split-complementary
#A6B41A #1A59B4 #751AB4
monochromatic
#43490B #757F12 #A6B41A #D0E02B #DCE860

Accessibility & contrast

On white

2.29
#A6B41A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#A6B41A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B41A
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B41A#FFFFFF#000000##000000
##A6B41A1.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#C1AC2C
Tritanopia (blue-blind)
#B1A999
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a6b41a;
/* rgb */ color: rgb(166, 180, 26);
/* oklch */ color: oklch(73.4% 0.161 115.3);
Tailwind
colors: {
  custom: {
    50: '#c5ca69',
    500: '#a6b41a',
    950: '#000000',
  },
}
SCSS
$custom: #a6b41a;
$custom-light: #c5ca69;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b41a",
  "rgb": {
    "r": 166,
    "g": 180,
    "b": 26
  },
  "hsl": {
    "h": 65.455,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.73425,
    "c": 0.16088,
    "h": 115.3
  },
  "luminance": 0.40824
}

Semantic roles & 50–950 ramp

primary
#A6B41A
secondary
#675DCC
accent
#36F147
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A6B41A

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

Preview Lab → · Contrast checker → · Palette generator →

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