#B1AB34#B1AB34

#B1AB34 is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.5% C 0.136 H 106.5°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#B1AB34
RGBrgb(177, 171, 52)
HSLhsl(57, 55%, 45%)
HSVhsv(57, 71%, 69%)
CMYKcmyk(0%, 3.4%, 70.6%, 30.6%)
CIE-LABlab(68.55, -11.90, 58.76)
CIE-LCHlch(68.55, 59.95, 101.45°)
OKLaboklab(72.48% -0.0386 0.1306)
OKLCHoklch(72.48% 0.136 106.5)
XYZxyz(33.3155, 38.7220, 8.9673)
Luminance0.3872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AB34 #343AB1
analogous
#B16D34 #B1AB34 #79B134
triadic
#B1AB34 #34B1AB #AB34B1
tetradic
#B1AB34 #34B16D #343AB1 #B13479
square
#B1AB34 #34B16D #343AB1 #B13479
split-complementary
#B1AB34 #3479B1 #6D34B1
monochromatic
#525018 #827D26 #B1AB34 #CDC755 #DBD784

Accessibility & contrast

On white

2.40
#B1AB34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#B1AB34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1AB34
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1AB34#FFFFFF#000000##000000
##B1AB341.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA521
Deuteranopia (green-blind)
#BCA93C
Tritanopia (blue-blind)
#BEA094
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b1ab34;
/* rgb */ color: rgb(177, 171, 52);
/* oklch */ color: oklch(72.5% 0.136 106.5);
Tailwind
colors: {
  custom: {
    50: '#ccc373',
    500: '#b1ab34',
    950: '#000000',
  },
}
SCSS
$custom: #b1ab34;
$custom-light: #ccc373;
$custom-dark: #000000;
JSON
{
  "hex": "#b1ab34",
  "rgb": {
    "r": 177,
    "g": 171,
    "b": 52
  },
  "hsl": {
    "h": 57.12,
    "s": 54.585,
    "l": 44.902
  },
  "oklch": {
    "l": 0.72479,
    "c": 0.13622,
    "h": 106.5
  },
  "luminance": 0.38721
}

Semantic roles & 50–950 ramp

primary
#B1AB34
secondary
#7C80C5
accent
#51DE4A
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141209
muted
#82817B

Preview Lab

Preview with #B1AB34

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

Preview Lab → · Contrast checker → · Palette generator →

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