#A6B320#A6B320

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

Color values

HEX#A6B320
RGBrgb(166, 179, 32)
HSLhsl(65, 70%, 41%)
HSVhsv(65, 82%, 70%)
CMYKcmyk(7.3%, 0%, 82.1%, 29.8%)
CIE-LABlab(69.79, -21.56, 65.99)
CIE-LCHlch(69.79, 69.43, 108.09°)
OKLaboklab(73.22% -0.0666 0.1428)
OKLCHoklch(73.22% 0.158 115)
XYZxyz(32.1077, 40.4521, 7.4829)
Luminance0.4045 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B320 #2D20B3
analogous
#B37720 #A6B320 #5DB320
triadic
#A6B320 #20A6B3 #B320A6
tetradic
#A6B320 #20B377 #2D20B3 #B3205D
square
#A6B320 #20B377 #2D20B3 #B3205D
split-complementary
#A6B320 #205DB3 #7720B3
monochromatic
#464B0D #767F17 #A6B320 #CCDB35 #D9E469

Accessibility & contrast

On white

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

On black

9.09
#A6B320 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B320
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B320#FFFFFF#000000##000000
##A6B3201.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA00
Deuteranopia (green-blind)
#C0AC2F
Tritanopia (blue-blind)
#B1A899
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a6b320;
/* rgb */ color: rgb(166, 179, 32);
/* oklch */ color: oklch(73.2% 0.158 115.0);
Tailwind
colors: {
  custom: {
    50: '#c4c96b',
    500: '#a6b320',
    950: '#000000',
  },
}
SCSS
$custom: #a6b320;
$custom-light: #c4c96b;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b320",
  "rgb": {
    "r": 166,
    "g": 179,
    "b": 32
  },
  "hsl": {
    "h": 65.306,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.73221,
    "c": 0.15759,
    "h": 115
  },
  "luminance": 0.40451
}

Semantic roles & 50–950 ramp

primary
#A6B320
secondary
#6E65CA
accent
#3BEC4B
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A6B320

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

Preview Lab → · Contrast checker → · Palette generator →

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