#A6A335#A6A335

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

Color values

HEX#A6A335
RGBrgb(166, 163, 53)
HSLhsl(58, 52%, 43%)
HSVhsv(58, 68%, 65%)
CMYKcmyk(0%, 1.8%, 68.1%, 34.9%)
CIE-LABlab(65.40, -12.48, 54.92)
CIE-LCHlch(65.40, 56.32, 102.80°)
OKLaboklab(69.75% -0.0395 0.1231)
OKLCHoklch(69.75% 0.129 107.8)
XYZxyz(29.4667, 34.5594, 8.4859)
Luminance0.3456 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A335 #3538A6
analogous
#A66A35 #A6A335 #70A635
triadic
#A6A335 #35A6A3 #A335A6
tetradic
#A6A335 #35A66A #3538A6 #A63570
square
#A6A335 #35A66A #3538A6 #A63570
split-complementary
#A6A335 #3570A6 #6A35A6
monochromatic
#494817 #787526 #A6A335 #C7C451 #D6D47F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6A335#FFFFFF#000000##000000
##A6A3351.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)
#B09D25
Deuteranopia (green-blind)
#B2A13C
Tritanopia (blue-blind)
#B2998D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a6a335;
/* rgb */ color: rgb(166, 163, 53);
/* oklch */ color: oklch(69.7% 0.129 107.8);
Tailwind
colors: {
  custom: {
    50: '#c3be73',
    500: '#a6a335',
    950: '#000000',
  },
}
SCSS
$custom: #a6a335;
$custom-light: #c3be73;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a335",
  "rgb": {
    "r": 166,
    "g": 163,
    "b": 53
  },
  "hsl": {
    "h": 58.407,
    "s": 51.598,
    "l": 42.941
  },
  "oklch": {
    "l": 0.69747,
    "c": 0.12924,
    "h": 107.8
  },
  "luminance": 0.34558
}

Semantic roles & 50–950 ramp

primary
#A6A335
secondary
#7779BF
accent
#51DB4D
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A6A335

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

Preview Lab → · Contrast checker → · Palette generator →

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