#B5AB35#B5AB35

#B5AB35 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.8% C 0.135 H 104.4°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#B5AB35
RGBrgb(181, 171, 53)
HSLhsl(55, 55%, 46%)
HSVhsv(55, 71%, 71%)
CMYKcmyk(0%, 5.5%, 70.7%, 29%)
CIE-LABlab(68.90, -10.11, 58.84)
CIE-LCHlch(68.90, 59.70, 99.75°)
OKLaboklab(72.85% -0.0337 0.1308)
OKLCHoklch(72.85% 0.135 104.4)
XYZxyz(34.2630, 39.2080, 9.1306)
Luminance0.3921 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AB35 #353FB5
analogous
#B56B35 #B5AB35 #7FB535
triadic
#B5AB35 #35B5AB #AB35B5
tetradic
#B5AB35 #35B56B #353FB5 #B5357F
square
#B5AB35 #35B56B #353FB5 #B5357F
split-complementary
#B5AB35 #357FB5 #6B35B5
monochromatic
#565219 #867E27 #B5AB35 #CEC559 #DCD688

Accessibility & contrast

On white

2.38
#B5AB35 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#B5AB35 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5AB35
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5AB35#FFFFFF#000000##000000
##B5AB351.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA522
Deuteranopia (green-blind)
#BEAB3D
Tritanopia (blue-blind)
#C29F94
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b5ab35;
/* rgb */ color: rgb(181, 171, 53);
/* oklch */ color: oklch(72.8% 0.135 104.4);
Tailwind
colors: {
  custom: {
    50: '#cfc374',
    500: '#b5ab35',
    950: '#000000',
  },
}
SCSS
$custom: #b5ab35;
$custom-light: #cfc374;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ab35",
  "rgb": {
    "r": 181,
    "g": 171,
    "b": 53
  },
  "hsl": {
    "h": 55.312,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.72845,
    "c": 0.13511,
    "h": 104.4
  },
  "luminance": 0.39207
}

Semantic roles & 50–950 ramp

primary
#B5AB35
secondary
#8085C6
accent
#55DE4A
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B5AB35

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

Preview Lab → · Contrast checker → · Palette generator →

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