#A5A646#A5A646

#A5A646 is a light, moderate yellow. Relative luminance 0.357; OKLCH L 70.5% C 0.119 H 109.7°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#A5A646
RGBrgb(165, 166, 70)
HSLhsl(61, 41%, 46%)
HSVhsv(61, 58%, 65%)
CMYKcmyk(0.6%, 0%, 57.8%, 34.9%)
CIE-LABlab(66.30, -13.34, 48.49)
CIE-LCHlch(66.30, 50.29, 105.38°)
OKLaboklab(70.49% -0.04 0.112)
OKLCHoklch(70.49% 0.119 109.7)
XYZxyz(30.2596, 35.7147, 11.0928)
Luminance0.3571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A646 #4746A6
analogous
#A67746 #A5A646 #75A646
triadic
#A5A646 #46A5A6 #A646A5
tetradic
#A5A646 #46A677 #4746A6 #A64675
square
#A5A646 #46A677 #4746A6 #A64675
split-complementary
#A5A646 #4675A6 #7746A6
monochromatic
#4F5022 #7A7B34 #A5A646 #BFC069 #D1D294

Accessibility & contrast

On white

2.58
#A5A646 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#A5A646 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A646
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A646#FFFFFF#000000##000000
##A5A6461.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F3C
Deuteranopia (green-blind)
#B3A34B
Tritanopia (blue-blind)
#B09C91
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a5a646;
/* rgb */ color: rgb(165, 166, 70);
/* oklch */ color: oklch(70.5% 0.119 109.7);
Tailwind
colors: {
  custom: {
    50: '#c2c07d',
    500: '#a5a646',
    950: '#000000',
  },
}
SCSS
$custom: #a5a646;
$custom-light: #c2c07d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a646",
  "rgb": {
    "r": 165,
    "g": 166,
    "b": 70
  },
  "hsl": {
    "h": 60.625,
    "s": 40.678,
    "l": 46.275
  },
  "oklch": {
    "l": 0.70488,
    "c": 0.11892,
    "h": 109.7
  },
  "luminance": 0.35714
}

Semantic roles & 50–950 ramp

primary
#A5A646
secondary
#8B8ABE
accent
#57D159
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #A5A646

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

Preview Lab → · Contrast checker → · Palette generator →

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