#A5AB42#A5AB42

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

Color values

HEX#A5AB42
RGBrgb(165, 171, 66)
HSLhsl(63, 44%, 46%)
HSVhsv(63, 61%, 67%)
CMYKcmyk(3.5%, 0%, 61.4%, 32.9%)
CIE-LABlab(67.66, -16.21, 51.79)
CIE-LCHlch(67.66, 54.27, 107.38°)
OKLaboklab(71.57% -0.0486 0.1185)
OKLCHoklch(71.57% 0.128 112.3)
XYZxyz(31.0641, 37.5192, 10.7587)
Luminance0.3752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AB42 #4842AB
analogous
#AB7D42 #A5AB42 #71AB42
triadic
#A5AB42 #42A5AB #AB42A5
tetradic
#A5AB42 #42AB7D #4842AB #AB4271
square
#A5AB42 #42AB7D #4842AB #AB4271
split-complementary
#A5AB42 #4271AB #7D42AB
monochromatic
#505320 #7A7F31 #A5AB42 #BFC466 #D1D592

Accessibility & contrast

On white

2.47
#A5AB42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#A5AB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5AB42
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5AB42#FFFFFF#000000##000000
##A5AB421.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A336
Deuteranopia (green-blind)
#B7A649
Tritanopia (blue-blind)
#AFA195
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a5ab42;
/* rgb */ color: rgb(165, 171, 66);
/* oklch */ color: oklch(71.6% 0.128 112.3);
Tailwind
colors: {
  custom: {
    50: '#c2c37b',
    500: '#a5ab42',
    950: '#000000',
  },
}
SCSS
$custom: #a5ab42;
$custom-light: #c2c37b;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ab42",
  "rgb": {
    "r": 165,
    "g": 171,
    "b": 66
  },
  "hsl": {
    "h": 63.429,
    "s": 44.304,
    "l": 46.471
  },
  "oklch": {
    "l": 0.71565,
    "c": 0.12804,
    "h": 112.3
  },
  "luminance": 0.37519
}

Semantic roles & 50–950 ramp

primary
#A5AB42
secondary
#8C88C0
accent
#54D45B
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #A5AB42

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

Preview Lab → · Contrast checker → · Palette generator →

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