#B1AB35#B1AB35

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

Color values

HEX#B1AB35
RGBrgb(177, 171, 53)
HSLhsl(57, 54%, 45%)
HSVhsv(57, 70%, 69%)
CMYKcmyk(0%, 3.4%, 70.1%, 30.6%)
CIE-LABlab(68.56, -11.85, 58.38)
CIE-LCHlch(68.56, 59.57, 101.47°)
OKLaboklab(72.49% -0.0384 0.13)
OKLCHoklch(72.49% 0.136 106.4)
XYZxyz(33.3383, 38.7311, 9.0872)
Luminance0.3873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AB35 #353BB1
analogous
#B16D35 #B1AB35 #79B135
triadic
#B1AB35 #35B1AB #AB35B1
tetradic
#B1AB35 #35B16D #353BB1 #B13579
square
#B1AB35 #35B16D #353BB1 #B13579
split-complementary
#B1AB35 #3579B1 #6D35B1
monochromatic
#535019 #827D27 #B1AB35 #CDC757 #DBD786

Accessibility & contrast

On white

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

On black

8.75
#B1AB35 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1AB35
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1AB35#FFFFFF#000000##000000
##B1AB351.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b1ab35;
/* rgb */ color: rgb(177, 171, 53);
/* oklch */ color: oklch(72.5% 0.136 106.4);
Tailwind
colors: {
  custom: {
    50: '#ccc374',
    500: '#b1ab35',
    950: '#000000',
  },
}
SCSS
$custom: #b1ab35;
$custom-light: #ccc374;
$custom-dark: #000000;
JSON
{
  "hex": "#b1ab35",
  "rgb": {
    "r": 177,
    "g": 171,
    "b": 53
  },
  "hsl": {
    "h": 57.097,
    "s": 53.913,
    "l": 45.098
  },
  "oklch": {
    "l": 0.72486,
    "c": 0.13555,
    "h": 106.4
  },
  "luminance": 0.3873
}

Semantic roles & 50–950 ramp

primary
#B1AB35
secondary
#7D81C4
accent
#52DD4B
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141209
muted
#82817B

Preview Lab

Preview with #B1AB35

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

Preview Lab → · Contrast checker → · Palette generator →

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