#A5AB7D#A5AB7D

#A5AB7D is a light, moderate yellow. Relative luminance 0.386; OKLCH L 72.5% C 0.064 H 114.0°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#A5AB7D
RGBrgb(165, 171, 125)
HSLhsl(68, 21%, 58%)
HSVhsv(68, 27%, 67%)
CMYKcmyk(3.5%, 0%, 26.9%, 32.9%)
CIE-LABlab(68.47, -9.90, 23.05)
CIE-LCHlch(68.47, 25.08, 113.24°)
OKLaboklab(72.46% -0.0259 0.058)
OKLCHoklch(72.46% 0.064 114)
XYZxyz(33.7815, 38.6061, 25.0702)
Luminance0.3861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AB7D #837DAB
analogous
#AB9A7D #A5AB7D #8EAB7D
triadic
#A5AB7D #7DA5AB #AB7DA5
tetradic
#A5AB7D #7DAB9A #837DAB #AB7D8E
square
#A5AB7D #7DAB9A #837DAB #AB7D8E
split-complementary
#A5AB7D #7D8EAB #9A7DAB
monochromatic
#656944 #888F5C #A5AB7D #BFC3A2 #D8DBC7

Accessibility & contrast

On white

2.41
#A5AB7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#A5AB7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5AB7D
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5AB7D#FFFFFF#000000##000000
##A5AB7D1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A67A
Deuteranopia (green-blind)
#B1A77F
Tritanopia (blue-blind)
#AAA69F
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a5ab7d;
/* rgb */ color: rgb(165, 171, 125);
/* oklch */ color: oklch(72.5% 0.064 114.0);
Tailwind
colors: {
  custom: {
    50: '#c0c4a3',
    500: '#a5ab7d',
    950: '#000000',
  },
}
SCSS
$custom: #a5ab7d;
$custom-light: #c0c4a3;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ab7d",
  "rgb": {
    "r": 165,
    "g": 171,
    "b": 125
  },
  "hsl": {
    "h": 67.826,
    "s": 21.495,
    "l": 58.039
  },
  "oklch": {
    "l": 0.72463,
    "c": 0.06356,
    "h": 114
  },
  "luminance": 0.38606
}

Semantic roles & 50–950 ramp

primary
#A5AB7D
secondary
#BBB9CB
accent
#6ABE75
background
#FBFCFA
surface
#F7F8F3
border
#D0D1CD
text
#12120F
muted
#81817F

Preview Lab

Preview with #A5AB7D

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

Preview Lab → · Contrast checker → · Palette generator →

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