#A6A333#A6A333

#A6A333 is a light, vivid yellow. Relative luminance 0.345; OKLCH L 69.7% C 0.131 H 107.8°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#A6A333
RGBrgb(166, 163, 51)
HSLhsl(58, 53%, 43%)
HSVhsv(58, 69%, 65%)
CMYKcmyk(0%, 1.8%, 69.3%, 34.9%)
CIE-LABlab(65.39, -12.59, 55.70)
CIE-LCHlch(65.39, 57.11, 102.73°)
OKLaboklab(69.73% -0.04 0.1244)
OKLCHoklch(69.73% 0.131 107.8)
XYZxyz(29.4217, 34.5413, 8.2486)
Luminance0.3454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A333 #3336A6
analogous
#A66A33 #A6A333 #6FA633
triadic
#A6A333 #33A6A3 #A333A6
tetradic
#A6A333 #33A66A #3336A6 #A6336F
square
#A6A333 #33A66A #3336A6 #A6336F
split-complementary
#A6A333 #336FA6 #6A33A6
monochromatic
#484716 #777525 #A6A333 #C9C54E #D7D57C

Accessibility & contrast

On white

2.66
#A6A333 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#A6A333 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A333
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A333#FFFFFF#000000##000000
##A6A3331.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D22
Deuteranopia (green-blind)
#B2A13B
Tritanopia (blue-blind)
#B2988D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a6a333;
/* rgb */ color: rgb(166, 163, 51);
/* oklch */ color: oklch(69.7% 0.131 107.8);
Tailwind
colors: {
  custom: {
    50: '#c4be72',
    500: '#a6a333',
    950: '#000000',
  },
}
SCSS
$custom: #a6a333;
$custom-light: #c4be72;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a333",
  "rgb": {
    "r": 166,
    "g": 163,
    "b": 51
  },
  "hsl": {
    "h": 58.435,
    "s": 52.995,
    "l": 42.549
  },
  "oklch": {
    "l": 0.69731,
    "c": 0.13064,
    "h": 107.8
  },
  "luminance": 0.3454
}

Semantic roles & 50–950 ramp

primary
#A6A333
secondary
#7577C0
accent
#4FDC4B
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A6A333

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

Preview Lab → · Contrast checker → · Palette generator →

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