#A5AB4A#A5AB4A

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

Color values

HEX#A5AB4A
RGBrgb(165, 171, 74)
HSLhsl(64, 40%, 48%)
HSVhsv(64, 57%, 67%)
CMYKcmyk(3.5%, 0%, 56.7%, 32.9%)
CIE-LABlab(67.74, -15.61, 48.25)
CIE-LCHlch(67.74, 50.71, 107.92°)
OKLaboklab(71.65% -0.046 0.112)
OKLCHoklch(71.65% 0.121 112.3)
XYZxyz(31.3167, 37.6202, 12.0889)
Luminance0.3762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AB4A #504AAB
analogous
#AB804A #A5AB4A #75AB4A
triadic
#A5AB4A #4AA5AB #AB4AA5
tetradic
#A5AB4A #4AAB80 #504AAB #AB4A75
square
#A5AB4A #4AAB80 #504AAB #AB4A75
split-complementary
#A5AB4A #4A75AB #804AAB
monochromatic
#535625 #7C8038 #A5AB4A #BCC171 #D0D49B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5AB4A#FFFFFF#000000##000000
##A5AB4A1.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)
#B7A440
Deuteranopia (green-blind)
#B7A650
Tritanopia (blue-blind)
#AFA296
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a5ab4a;
/* rgb */ color: rgb(165, 171, 74);
/* oklch */ color: oklch(71.6% 0.121 112.3);
Tailwind
colors: {
  custom: {
    50: '#c2c380',
    500: '#a5ab4a',
    950: '#000000',
  },
}
SCSS
$custom: #a5ab4a;
$custom-light: #c2c380;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ab4a",
  "rgb": {
    "r": 165,
    "g": 171,
    "b": 74
  },
  "hsl": {
    "h": 63.711,
    "s": 39.592,
    "l": 48.039
  },
  "oklch": {
    "l": 0.71649,
    "c": 0.12105,
    "h": 112.3
  },
  "luminance": 0.3762
}

Semantic roles & 50–950 ramp

primary
#A5AB4A
secondary
#9390C0
accent
#58CF60
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13120A
muted
#82817C

Preview Lab

Preview with #A5AB4A

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

Preview Lab → · Contrast checker → · Palette generator →

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