#B1AB23#B1AB23

#B1AB23 is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.4% C 0.146 H 106.8°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#B1AB23
RGBrgb(177, 171, 35)
HSLhsl(57, 67%, 42%)
HSVhsv(57, 80%, 69%)
CMYKcmyk(0%, 3.4%, 80.2%, 30.6%)
CIE-LABlab(68.46, -12.62, 64.36)
CIE-LCHlch(68.46, 65.59, 101.09°)
OKLaboklab(72.38% -0.0422 0.1394)
OKLCHoklch(72.38% 0.146 106.8)
XYZxyz(32.9991, 38.5955, 7.3012)
Luminance0.3859 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AB23 #2329B1
analogous
#B16423 #B1AB23 #70B123
triadic
#B1AB23 #23B1AB #AB23B1
tetradic
#B1AB23 #23B164 #2329B1 #B12370
square
#B1AB23 #23B164 #2329B1 #B12370
split-complementary
#B1AB23 #2370B1 #6423B1
monochromatic
#4B480F #7E7A19 #B1AB23 #D8D139 #E2DD6C

Accessibility & contrast

On white

2.41
#B1AB23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#B1AB23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1AB23
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1AB23#FFFFFF#000000##000000
##B1AB231.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#BDA92F
Tritanopia (blue-blind)
#BE9F92
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b1ab23;
/* rgb */ color: rgb(177, 171, 35);
/* oklch */ color: oklch(72.4% 0.146 106.8);
Tailwind
colors: {
  custom: {
    50: '#ccc36b',
    500: '#b1ab23',
    950: '#000000',
  },
}
SCSS
$custom: #b1ab23;
$custom-light: #ccc36b;
$custom-dark: #000000;
JSON
{
  "hex": "#b1ab23",
  "rgb": {
    "r": 177,
    "g": 171,
    "b": 35
  },
  "hsl": {
    "h": 57.465,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.72376,
    "c": 0.14562,
    "h": 106.8
  },
  "luminance": 0.38594
}

Semantic roles & 50–950 ramp

primary
#B1AB23
secondary
#686CC8
accent
#45EA3E
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B1AB23

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

Preview Lab → · Contrast checker → · Palette generator →

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