#A5AB41#A5AB41

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

Color values

HEX#A5AB41
RGBrgb(165, 171, 65)
HSLhsl(63, 45%, 46%)
HSVhsv(63, 62%, 67%)
CMYKcmyk(3.5%, 0%, 62%, 32.9%)
CIE-LABlab(67.66, -16.28, 52.22)
CIE-LCHlch(67.66, 54.70, 107.32°)
OKLaboklab(71.56% -0.0489 0.1192)
OKLCHoklch(71.56% 0.129 112.3)
XYZxyz(31.0349, 37.5075, 10.6048)
Luminance0.3751 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AB41 #4741AB
analogous
#AB7C41 #A5AB41 #70AB41
triadic
#A5AB41 #41A5AB #AB41A5
tetradic
#A5AB41 #41AB7C #4741AB #AB4170
square
#A5AB41 #41AB7C #4741AB #AB4170
split-complementary
#A5AB41 #4170AB #7C41AB
monochromatic
#4F521F #7A7F30 #A5AB41 #BFC465 #D1D591

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5AB41#FFFFFF#000000##000000
##A5AB411.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)
#B7A334
Deuteranopia (green-blind)
#B8A648
Tritanopia (blue-blind)
#B0A195
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a5ab41;
/* rgb */ color: rgb(165, 171, 65);
/* oklch */ color: oklch(71.6% 0.129 112.3);
Tailwind
colors: {
  custom: {
    50: '#c2c37a',
    500: '#a5ab41',
    950: '#000000',
  },
}
SCSS
$custom: #a5ab41;
$custom-light: #c2c37a;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ab41",
  "rgb": {
    "r": 165,
    "g": 171,
    "b": 65
  },
  "hsl": {
    "h": 63.396,
    "s": 44.915,
    "l": 46.275
  },
  "oklch": {
    "l": 0.71555,
    "c": 0.12887,
    "h": 112.3
  },
  "luminance": 0.37507
}

Semantic roles & 50–950 ramp

primary
#A5AB41
secondary
#8B87C1
accent
#53D55B
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #A5AB41

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

Preview Lab → · Contrast checker → · Palette generator →

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