#A6B019#A6B019

#A6B019 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#A6B019
RGBrgb(166, 176, 25)
HSLhsl(64, 75%, 39%)
HSVhsv(64, 86%, 69%)
CMYKcmyk(5.7%, 0%, 85.8%, 31%)
CIE-LABlab(68.92, -20.27, 66.92)
CIE-LCHlch(68.92, 69.92, 106.85°)
OKLaboklab(72.51% -0.0635 0.1437)
OKLCHoklch(72.51% 0.157 113.8)
XYZxyz(31.4277, 39.2285, 6.8358)
Luminance0.3923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B019 #2319B0
analogous
#B06F19 #A6B019 #5AB019
triadic
#A6B019 #19A6B0 #B019A6
tetradic
#A6B019 #19B06F #2319B0 #B0195A
square
#A6B019 #19B06F #2319B0 #B0195A
split-complementary
#A6B019 #195AB0 #6F19B0
monochromatic
#41450A #737A11 #A6B019 #D4E026 #DFE85C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #a6b019;
/* rgb */ color: rgb(166, 176, 25);
/* oklch */ color: oklch(72.5% 0.157 113.8);
Tailwind
colors: {
  custom: {
    50: '#c5c768',
    500: '#a6b019',
    950: '#000000',
  },
}
SCSS
$custom: #a6b019;
$custom-light: #c5c768;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b019",
  "rgb": {
    "r": 166,
    "g": 176,
    "b": 25
  },
  "hsl": {
    "h": 63.974,
    "s": 75.124,
    "l": 39.412
  },
  "oklch": {
    "l": 0.72512,
    "c": 0.15708,
    "h": 113.8
  },
  "luminance": 0.39228
}

Semantic roles & 50–950 ramp

primary
#A6B019
secondary
#6159CC
accent
#36F242
background
#FCFCF6
surface
#F8F8EB
border
#D1D1C6
text
#131307
muted
#82827A

Preview Lab

Preview with #A6B019

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

Preview Lab → · Contrast checker → · Palette generator →

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