#A6A536#A6A536

#A6A536 is a light, vivid yellow. Relative luminance 0.353; OKLCH L 70.2% C 0.131 H 108.8°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#A6A536
RGBrgb(166, 165, 54)
HSLhsl(59, 51%, 43%)
HSVhsv(59, 67%, 65%)
CMYKcmyk(0%, 0.6%, 67.5%, 34.9%)
CIE-LABlab(65.97, -13.46, 55.09)
CIE-LCHlch(65.97, 56.71, 103.73°)
OKLaboklab(70.2% -0.0422 0.1236)
OKLCHoklch(70.2% 0.131 108.8)
XYZxyz(29.8479, 35.2845, 8.7276)
Luminance0.3528 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A536 #3637A6
analogous
#A66D36 #A6A536 #6FA636
triadic
#A6A536 #36A6A5 #A536A6
tetradic
#A6A536 #36A66D #3637A6 #A6366F
square
#A6A536 #36A66D #3637A6 #A6366F
split-complementary
#A6A536 #366FA6 #6D36A6
monochromatic
#4A4918 #787727 #A6A536 #C7C652 #D6D581

Accessibility & contrast

On white

2.61
#A6A536 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#A6A536 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A536
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A536#FFFFFF#000000##000000
##A6A5361.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E26
Deuteranopia (green-blind)
#B4A23D
Tritanopia (blue-blind)
#B29B8F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a6a536;
/* rgb */ color: rgb(166, 165, 54);
/* oklch */ color: oklch(70.2% 0.131 108.8);
Tailwind
colors: {
  custom: {
    50: '#c3bf74',
    500: '#a6a536',
    950: '#000000',
  },
}
SCSS
$custom: #a6a536;
$custom-light: #c3bf74;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a536",
  "rgb": {
    "r": 166,
    "g": 165,
    "b": 54
  },
  "hsl": {
    "h": 59.464,
    "s": 50.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.702,
    "c": 0.13058,
    "h": 108.8
  },
  "luminance": 0.35284
}

Semantic roles & 50–950 ramp

primary
#A6A536
secondary
#7979BF
accent
#4FDA4D
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A6A536

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

Preview Lab → · Contrast checker → · Palette generator →

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