#A6B419#A6B419

#A6B419 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#A6B419
RGBrgb(166, 180, 25)
HSLhsl(65, 76%, 40%)
HSVhsv(65, 86%, 71%)
CMYKcmyk(7.8%, 0%, 86.1%, 29.4%)
CIE-LABlab(70.05, -22.26, 67.86)
CIE-LCHlch(70.05, 71.42, 108.16°)
OKLaboklab(73.42% -0.069 0.1457)
OKLCHoklch(73.42% 0.161 115.3)
XYZxyz(32.2236, 40.8203, 7.1011)
Luminance0.4082 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B419 #2719B4
analogous
#B47419 #A6B419 #59B419
triadic
#A6B419 #19A6B4 #B419A6
tetradic
#A6B419 #19B474 #2719B4 #B41959
square
#A6B419 #19B474 #2719B4 #B41959
split-complementary
#A6B419 #1959B4 #7419B4
monochromatic
#43490A #747E12 #A6B419 #D1E129 #DCE95F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6B419#FFFFFF#000000##000000
##A6B4191.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)
#C2AA00
Deuteranopia (green-blind)
#C1AC2B
Tritanopia (blue-blind)
#B1A999
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a6b419;
/* rgb */ color: rgb(166, 180, 25);
/* oklch */ color: oklch(73.4% 0.161 115.3);
Tailwind
colors: {
  custom: {
    50: '#c5ca69',
    500: '#a6b419',
    950: '#000000',
  },
}
SCSS
$custom: #a6b419;
$custom-light: #c5ca69;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b419",
  "rgb": {
    "r": 166,
    "g": 180,
    "b": 25
  },
  "hsl": {
    "h": 65.419,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.73421,
    "c": 0.16122,
    "h": 115.3
  },
  "luminance": 0.4082
}

Semantic roles & 50–950 ramp

primary
#A6B419
secondary
#665CCD
accent
#36F247
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A6B419

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

Preview Lab → · Contrast checker → · Palette generator →

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