#A5AB2D#A5AB2D

#A5AB2D is a light, vivid yellow. Relative luminance 0.373; OKLCH L 71.4% C 0.143 H 112.3°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#A5AB2D
RGBrgb(165, 171, 45)
HSLhsl(63, 58%, 42%)
HSVhsv(63, 74%, 67%)
CMYKcmyk(3.5%, 0%, 73.7%, 32.9%)
CIE-LABlab(67.51, -17.45, 59.96)
CIE-LCHlch(67.51, 62.45, 106.23°)
OKLaboklab(71.4% -0.0542 0.1323)
OKLCHoklch(71.4% 0.143 112.3)
XYZxyz(30.5546, 37.3153, 8.0752)
Luminance0.3731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AB2D #332DAB
analogous
#AB722D #A5AB2D #66AB2D
triadic
#A5AB2D #2DA5AB #AB2DA5
tetradic
#A5AB2D #2DAB72 #332DAB #AB2D66
square
#A5AB2D #2DAB72 #332DAB #AB2D66
split-complementary
#A5AB2D #2D66AB #722DAB
monochromatic
#484A14 #767B20 #A5AB2D #C8CE47 #D6DB77

Accessibility & contrast

On white

2.48
#A5AB2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#A5AB2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5AB2D
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5AB2D#FFFFFF#000000##000000
##A5AB2D1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A313
Deuteranopia (green-blind)
#B9A637
Tritanopia (blue-blind)
#B0A093
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a5ab2d;
/* rgb */ color: rgb(165, 171, 45);
/* oklch */ color: oklch(71.4% 0.143 112.3);
Tailwind
colors: {
  custom: {
    50: '#c3c36f',
    500: '#a5ab2d',
    950: '#000000',
  },
}
SCSS
$custom: #a5ab2d;
$custom-light: #c3c36f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ab2d",
  "rgb": {
    "r": 165,
    "g": 171,
    "b": 45
  },
  "hsl": {
    "h": 62.857,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.71395,
    "c": 0.14298,
    "h": 112.3
  },
  "luminance": 0.37315
}

Semantic roles & 50–950 ramp

primary
#A5AB2D
secondary
#7571C3
accent
#46E24E
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5AB2D

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

Preview Lab → · Contrast checker → · Palette generator →

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