#A6B021#A6B021

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

Color values

HEX#A6B021
RGBrgb(166, 176, 33)
HSLhsl(64, 68%, 41%)
HSVhsv(64, 81%, 69%)
CMYKcmyk(5.7%, 0%, 81.3%, 31%)
CIE-LABlab(68.94, -20.03, 65.00)
CIE-LCHlch(68.94, 68.01, 107.13°)
OKLaboklab(72.54% -0.0623 0.1409)
OKLCHoklch(72.54% 0.154 113.9)
XYZxyz(31.5268, 39.2681, 7.3573)
Luminance0.3927 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B021 #2B21B0
analogous
#B07221 #A6B021 #5EB021
triadic
#A6B021 #21A6B0 #B021A6
tetradic
#A6B021 #21B072 #2B21B0 #B0215E
square
#A6B021 #21B072 #2B21B0 #B0215E
split-complementary
#A6B021 #215EB0 #7221B0
monochromatic
#45490E #757C17 #A6B021 #CED935 #DAE369

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6B021#FFFFFF#000000##000000
##A6B0211.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)
#BDAA2F
Tritanopia (blue-blind)
#B2A596
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a6b021;
/* rgb */ color: rgb(166, 176, 33);
/* oklch */ color: oklch(72.5% 0.154 113.9);
Tailwind
colors: {
  custom: {
    50: '#c4c76b',
    500: '#a6b021',
    950: '#000000',
  },
}
SCSS
$custom: #a6b021;
$custom-light: #c4c76b;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b021",
  "rgb": {
    "r": 166,
    "g": 176,
    "b": 33
  },
  "hsl": {
    "h": 64.196,
    "s": 68.421,
    "l": 40.98
  },
  "oklch": {
    "l": 0.72544,
    "c": 0.15403,
    "h": 113.9
  },
  "luminance": 0.39267
}

Semantic roles & 50–950 ramp

primary
#A6B021
secondary
#6B64C8
accent
#3DEB49
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A6B021

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

Preview Lab → · Contrast checker → · Palette generator →

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