#A6B01A#A6B01A

#A6B01A is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.5% C 0.157 H 113.8°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#A6B01A
RGBrgb(166, 176, 26)
HSLhsl(64, 74%, 40%)
HSVhsv(64, 85%, 69%)
CMYKcmyk(5.7%, 0%, 85.2%, 31%)
CIE-LABlab(68.92, -20.24, 66.70)
CIE-LCHlch(68.92, 69.70, 106.88°)
OKLaboklab(72.52% -0.0634 0.1434)
OKLCHoklch(72.52% 0.157 113.8)
XYZxyz(31.4387, 39.2329, 6.8937)
Luminance0.3923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B01A #241AB0
analogous
#B06F1A #A6B01A #5BB01A
triadic
#A6B01A #1AA6B0 #B01AA6
tetradic
#A6B01A #1AB06F #241AB0 #B01A5B
square
#A6B01A #1AB06F #241AB0 #B01A5B
split-complementary
#A6B01A #1A5BB0 #6F1AB0
monochromatic
#41450A #747B12 #A6B01A #D3DF28 #DEE75D

Accessibility & contrast

On white

2.37
#A6B01A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#A6B01A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B01A
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B01A#FFFFFF#000000##000000
##A6B01A1.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA700
Deuteranopia (green-blind)
#BDA92B
Tritanopia (blue-blind)
#B2A596
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a6b01a;
/* rgb */ color: rgb(166, 176, 26);
/* oklch */ color: oklch(72.5% 0.157 113.8);
Tailwind
colors: {
  custom: {
    50: '#c4c768',
    500: '#a6b01a',
    950: '#000000',
  },
}
SCSS
$custom: #a6b01a;
$custom-light: #c4c768;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b01a",
  "rgb": {
    "r": 166,
    "g": 176,
    "b": 26
  },
  "hsl": {
    "h": 64,
    "s": 74.257,
    "l": 39.608
  },
  "oklch": {
    "l": 0.72515,
    "c": 0.15673,
    "h": 113.8
  },
  "luminance": 0.39232
}

Semantic roles & 50–950 ramp

primary
#A6B01A
secondary
#625BCB
accent
#37F143
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A6B01A

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

Preview Lab → · Contrast checker → · Palette generator →

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