#A5AB2B#A5AB2B

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

Color values

HEX#A5AB2B
RGBrgb(165, 171, 43)
HSLhsl(63, 60%, 42%)
HSVhsv(63, 75%, 67%)
CMYKcmyk(3.5%, 0%, 74.9%, 32.9%)
CIE-LABlab(67.50, -17.54, 60.63)
CIE-LCHlch(67.50, 63.12, 106.14°)
OKLaboklab(71.38% -0.0546 0.1334)
OKLCHoklch(71.38% 0.144 112.3)
XYZxyz(30.5170, 37.3003, 7.8771)
Luminance0.3730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AB2B #312BAB
analogous
#AB712B #A5AB2B #65AB2B
triadic
#A5AB2B #2BA5AB #AB2BA5
tetradic
#A5AB2B #2BAB71 #312BAB #AB2B65
square
#A5AB2B #2BAB71 #312BAB #AB2B65
split-complementary
#A5AB2B #2B65AB #712BAB
monochromatic
#474912 #767A1F #A5AB2B #C9D043 #D7DC74

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5AB2B#FFFFFF#000000##000000
##A5AB2B1.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)
#B8A30E
Deuteranopia (green-blind)
#B9A636
Tritanopia (blue-blind)
#B0A093
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a5ab2b;
/* rgb */ color: rgb(165, 171, 43);
/* oklch */ color: oklch(71.4% 0.144 112.3);
Tailwind
colors: {
  custom: {
    50: '#c3c36f',
    500: '#a5ab2b',
    950: '#000000',
  },
}
SCSS
$custom: #a5ab2b;
$custom-light: #c3c36f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ab2b",
  "rgb": {
    "r": 165,
    "g": 171,
    "b": 43
  },
  "hsl": {
    "h": 62.813,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.71383,
    "c": 0.14412,
    "h": 112.3
  },
  "luminance": 0.373
}

Semantic roles & 50–950 ramp

primary
#A5AB2B
secondary
#726EC4
accent
#45E34C
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5AB2B

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

Preview Lab → · Contrast checker → · Palette generator →

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