#A5A276#A5A276

#A5A276 is a light, moderate yellow. Relative luminance 0.351; OKLCH L 70.4% C 0.061 H 104.6°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#A5A276
RGBrgb(165, 162, 118)
HSLhsl(56, 21%, 55%)
HSVhsv(56, 28%, 65%)
CMYKcmyk(0%, 1.8%, 28.5%, 35.3%)
CIE-LABlab(65.86, -6.09, 23.34)
CIE-LCHlch(65.86, 24.12, 104.62°)
OKLaboklab(70.36% -0.0152 0.0586)
OKLCHoklch(70.36% 0.061 104.6)
XYZxyz(31.7075, 35.1486, 22.2501)
Luminance0.3515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A276 #7679A5
analogous
#A58A76 #A5A276 #90A576
triadic
#A5A276 #76A5A2 #A276A5
tetradic
#A5A276 #76A58A #7679A5 #A57690
square
#A5A276 #76A58A #7679A5 #A57690
split-complementary
#A5A276 #7690A5 #8A76A5
monochromatic
#615F40 #868358 #A5A276 #BDBB9B #D6D4C0

Accessibility & contrast

On white

2.62
#A5A276 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#A5A276 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A276
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A276#FFFFFF#000000##000000
##A5A2761.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9F73
Deuteranopia (green-blind)
#ABA178
Tritanopia (blue-blind)
#AC9C96
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a5a276;
/* rgb */ color: rgb(165, 162, 118);
/* oklch */ color: oklch(70.4% 0.061 104.6);
Tailwind
colors: {
  custom: {
    50: '#c0bd9e',
    500: '#a5a276',
    950: '#000000',
  },
}
SCSS
$custom: #a5a276;
$custom-light: #c0bd9e;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a276",
  "rgb": {
    "r": 165,
    "g": 162,
    "b": 118
  },
  "hsl": {
    "h": 56.17,
    "s": 20.705,
    "l": 55.49
  },
  "oklch": {
    "l": 0.70358,
    "c": 0.06057,
    "h": 104.6
  },
  "luminance": 0.35148
}

Semantic roles & 50–950 ramp

primary
#A5A276
secondary
#B2B3C5
accent
#70BD6B
background
#FBFBF9
surface
#F7F6F2
border
#D0D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #A5A276

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

Preview Lab → · Contrast checker → · Palette generator →

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