#A5AB49#A5AB49

#A5AB49 is a light, vivid yellow. Relative luminance 0.376; OKLCH L 71.6% C 0.122 H 112.3°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#A5AB49
RGBrgb(165, 171, 73)
HSLhsl(64, 40%, 48%)
HSVhsv(64, 57%, 67%)
CMYKcmyk(3.5%, 0%, 57.3%, 32.9%)
CIE-LABlab(67.73, -15.69, 48.70)
CIE-LCHlch(67.73, 51.17, 107.85°)
OKLaboklab(71.64% -0.0463 0.1128)
OKLCHoklch(71.64% 0.122 112.3)
XYZxyz(31.2833, 37.6068, 11.9129)
Luminance0.3761 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AB49 #4F49AB
analogous
#AB8049 #A5AB49 #74AB49
triadic
#A5AB49 #49A5AB #AB49A5
tetradic
#A5AB49 #49AB80 #4F49AB #AB4974
square
#A5AB49 #49AB80 #4F49AB #AB4974
split-complementary
#A5AB49 #4974AB #8049AB
monochromatic
#525524 #7C8037 #A5AB49 #BDC26F #D1D49A

Accessibility & contrast

On white

2.46
#A5AB49 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#A5AB49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5AB49
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5AB49#FFFFFF#000000##000000
##A5AB491.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A43F
Deuteranopia (green-blind)
#B7A64F
Tritanopia (blue-blind)
#AFA296
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a5ab49;
/* rgb */ color: rgb(165, 171, 73);
/* oklch */ color: oklch(71.6% 0.122 112.3);
Tailwind
colors: {
  custom: {
    50: '#c2c37f',
    500: '#a5ab49',
    950: '#000000',
  },
}
SCSS
$custom: #a5ab49;
$custom-light: #c2c37f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ab49",
  "rgb": {
    "r": 165,
    "g": 171,
    "b": 73
  },
  "hsl": {
    "h": 63.673,
    "s": 40.164,
    "l": 47.843
  },
  "oklch": {
    "l": 0.71638,
    "c": 0.12196,
    "h": 112.3
  },
  "luminance": 0.37606
}

Semantic roles & 50–950 ramp

primary
#A5AB49
secondary
#928FC0
accent
#58D05F
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #A5AB49

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

Preview Lab → · Contrast checker → · Palette generator →

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