#A6B316#A6B316

#A6B316 is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.2% C 0.161 H 115.0°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#A6B316
RGBrgb(166, 179, 22)
HSLhsl(65, 78%, 39%)
HSVhsv(65, 88%, 70%)
CMYKcmyk(7.3%, 0%, 87.7%, 29.8%)
CIE-LABlab(69.76, -21.84, 68.23)
CIE-LCHlch(69.76, 71.64, 107.75°)
OKLaboklab(73.18% -0.068 0.1461)
OKLCHoklch(73.18% 0.161 115)
XYZxyz(31.9918, 40.4057, 6.8727)
Luminance0.4041 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B316 #2316B3
analogous
#B37216 #A6B316 #58B316
triadic
#A6B316 #16A6B3 #B316A6
tetradic
#A6B316 #16B372 #2316B3 #B31658
square
#A6B316 #16B372 #2316B3 #B31658
split-complementary
#A6B316 #1658B3 #7216B3
monochromatic
#414609 #737C0F #A6B316 #D4E422 #DFEB59

Accessibility & contrast

On white

2.31
#A6B316 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#A6B316 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B316
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B316#FFFFFF#000000##000000
##A6B3161.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1A900
Deuteranopia (green-blind)
#C0AC29
Tritanopia (blue-blind)
#B2A898
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a6b316;
/* rgb */ color: rgb(166, 179, 22);
/* oklch */ color: oklch(73.2% 0.161 115.0);
Tailwind
colors: {
  custom: {
    50: '#c5c968',
    500: '#a6b316',
    950: '#000000',
  },
}
SCSS
$custom: #a6b316;
$custom-light: #c5c968;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b316",
  "rgb": {
    "r": 166,
    "g": 179,
    "b": 22
  },
  "hsl": {
    "h": 64.968,
    "s": 78.109,
    "l": 39.412
  },
  "oklch": {
    "l": 0.73184,
    "c": 0.16111,
    "h": 115
  },
  "luminance": 0.40405
}

Semantic roles & 50–950 ramp

primary
#A6B316
secondary
#6157CE
accent
#33F543
background
#FCFCF6
surface
#F9F8EB
border
#D2D1C6
text
#131307
muted
#82827A

Preview Lab

Preview with #A6B316

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

Preview Lab → · Contrast checker → · Palette generator →

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