#A6A334#A6A334

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

Color values

HEX#A6A334
RGBrgb(166, 163, 52)
HSLhsl(58, 52%, 43%)
HSVhsv(58, 69%, 65%)
CMYKcmyk(0%, 1.8%, 68.7%, 34.9%)
CIE-LABlab(65.40, -12.53, 55.31)
CIE-LCHlch(65.40, 56.72, 102.77°)
OKLaboklab(69.74% -0.0398 0.1237)
OKLCHoklch(69.74% 0.13 107.8)
XYZxyz(29.4440, 34.5503, 8.3660)
Luminance0.3455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A334 #3437A6
analogous
#A66A34 #A6A334 #70A634
triadic
#A6A334 #34A6A3 #A334A6
tetradic
#A6A334 #34A66A #3437A6 #A63470
square
#A6A334 #34A66A #3437A6 #A63470
split-complementary
#A6A334 #3470A6 #6A34A6
monochromatic
#494717 #777525 #A6A334 #C8C54F #D7D47E

Accessibility & contrast

On white

2.65
#A6A334 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6A334#FFFFFF#000000##000000
##A6A3341.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a6a334;
/* rgb */ color: rgb(166, 163, 52);
/* oklch */ color: oklch(69.7% 0.130 107.8);
Tailwind
colors: {
  custom: {
    50: '#c4be72',
    500: '#a6a334',
    950: '#000000',
  },
}
SCSS
$custom: #a6a334;
$custom-light: #c4be72;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a334",
  "rgb": {
    "r": 166,
    "g": 163,
    "b": 52
  },
  "hsl": {
    "h": 58.421,
    "s": 52.294,
    "l": 42.745
  },
  "oklch": {
    "l": 0.69739,
    "c": 0.12995,
    "h": 107.8
  },
  "luminance": 0.34549
}

Semantic roles & 50–950 ramp

primary
#A6A334
secondary
#7678C0
accent
#50DC4C
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A6A334

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

Preview Lab → · Contrast checker → · Palette generator →

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