#A5AB2A#A5AB2A

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

Color values

HEX#A5AB2A
RGBrgb(165, 171, 42)
HSLhsl(63, 61%, 42%)
HSVhsv(63, 75%, 67%)
CMYKcmyk(3.5%, 0%, 75.4%, 32.9%)
CIE-LABlab(67.50, -17.59, 60.96)
CIE-LCHlch(67.50, 63.45, 106.09°)
OKLaboklab(71.38% -0.0548 0.1339)
OKLCHoklch(71.38% 0.145 112.3)
XYZxyz(30.4989, 37.2931, 7.7817)
Luminance0.3729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AB2A #302AAB
analogous
#AB712A #A5AB2A #65AB2A
triadic
#A5AB2A #2AA5AB #AB2AA5
tetradic
#A5AB2A #2AAB71 #302AAB #AB2A65
square
#A5AB2A #2AAB71 #302AAB #AB2A65
split-complementary
#A5AB2A #2A65AB #712AAB
monochromatic
#464912 #767A1E #A5AB2A #CAD142 #D8DD73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5AB2A#FFFFFF#000000##000000
##A5AB2A1.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)
#B8A30B
Deuteranopia (green-blind)
#B9A635
Tritanopia (blue-blind)
#B1A093
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a5ab2a;
/* rgb */ color: rgb(165, 171, 42);
/* oklch */ color: oklch(71.4% 0.145 112.3);
Tailwind
colors: {
  custom: {
    50: '#c3c36e',
    500: '#a5ab2a',
    950: '#000000',
  },
}
SCSS
$custom: #a5ab2a;
$custom-light: #c3c36e;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ab2a",
  "rgb": {
    "r": 165,
    "g": 171,
    "b": 42
  },
  "hsl": {
    "h": 62.791,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.71377,
    "c": 0.14468,
    "h": 112.3
  },
  "luminance": 0.37292
}

Semantic roles & 50–950 ramp

primary
#A5AB2A
secondary
#716DC4
accent
#44E44C
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5AB2A

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

Preview Lab → · Contrast checker → · Palette generator →

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