#A5A546#A5A546

#A5A546 is a light, moderate yellow. Relative luminance 0.354; OKLCH L 70.3% C 0.118 H 109.1°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#A5A546
RGBrgb(165, 165, 70)
HSLhsl(60, 40%, 46%)
HSVhsv(60, 58%, 65%)
CMYKcmyk(0%, 0%, 57.6%, 35.3%)
CIE-LABlab(66.02, -12.82, 48.18)
CIE-LCHlch(66.02, 49.85, 104.90°)
OKLaboklab(70.27% -0.0385 0.1113)
OKLCHoklch(70.27% 0.118 109.1)
XYZxyz(30.0785, 35.3526, 11.0324)
Luminance0.3535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A546 #4646A5
analogous
#A57546 #A5A546 #75A546
triadic
#A5A546 #46A5A5 #A546A5
tetradic
#A5A546 #46A575 #4646A5 #A54675
square
#A5A546 #46A575 #4646A5 #A54675
split-complementary
#A5A546 #4675A5 #7546A5
monochromatic
#4F4F22 #7A7A34 #A5A546 #BFBF69 #D2D294

Accessibility & contrast

On white

2.60
#A5A546 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#A5A546 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A546
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A546#FFFFFF#000000##000000
##A5A5461.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19F3C
Deuteranopia (green-blind)
#B3A24B
Tritanopia (blue-blind)
#B09B90
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a5a546;
/* rgb */ color: rgb(165, 165, 70);
/* oklch */ color: oklch(70.3% 0.118 109.1);
Tailwind
colors: {
  custom: {
    50: '#c2bf7d',
    500: '#a5a546',
    950: '#000000',
  },
}
SCSS
$custom: #a5a546;
$custom-light: #c2bf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a546",
  "rgb": {
    "r": 165,
    "g": 165,
    "b": 70
  },
  "hsl": {
    "h": 60,
    "s": 40.426,
    "l": 46.078
  },
  "oklch": {
    "l": 0.70266,
    "c": 0.11781,
    "h": 109.1
  },
  "luminance": 0.35352
}

Semantic roles & 50–950 ramp

primary
#A5A546
secondary
#8989BD
accent
#58D058
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #A5A546

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

Preview Lab → · Contrast checker → · Palette generator →

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