#B1BB38#B1BB38

#B1BB38 is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.0% C 0.150 H 113.7°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#B1BB38
RGBrgb(177, 187, 56)
HSLhsl(65, 54%, 48%)
HSVhsv(65, 70%, 73%)
CMYKcmyk(5.3%, 0%, 70.1%, 26.7%)
CIE-LABlab(73.01, -19.83, 61.65)
CIE-LCHlch(73.01, 64.76, 107.83°)
OKLaboklab(76.05% -0.0604 0.1374)
OKLCHoklch(76.05% 0.15 113.7)
XYZxyz(36.6166, 45.1740, 10.5312)
Luminance0.4517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1BB38 #4238BB
analogous
#BB8338 #B1BB38 #70BB38
triadic
#B1BB38 #38B1BB #BB38B1
tetradic
#B1BB38 #38BB83 #4238BB #BB3870
square
#B1BB38 #38BB83 #4238BB #BB3870
split-complementary
#B1BB38 #3870BB #8338BB
monochromatic
#585D1C #848C2A #B1BB38 #C7D061 #D8DE90

Accessibility & contrast

On white

2.09
#B1BB38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.03
#B1BB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1BB38
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1BB38#FFFFFF#000000##000000
##B1BB381.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B222
Deuteranopia (green-blind)
#C8B442
Tritanopia (blue-blind)
#BDB0A1
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b1bb38;
/* rgb */ color: rgb(177, 187, 56);
/* oklch */ color: oklch(76.0% 0.150 113.7);
Tailwind
colors: {
  custom: {
    50: '#cccf77',
    500: '#b1bb38',
    950: '#000000',
  },
}
SCSS
$custom: #b1bb38;
$custom-light: #cccf77;
$custom-dark: #000000;
JSON
{
  "hex": "#b1bb38",
  "rgb": {
    "r": 177,
    "g": 187,
    "b": 56
  },
  "hsl": {
    "h": 64.58,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.76049,
    "c": 0.15012,
    "h": 113.7
  },
  "luminance": 0.45173
}

Semantic roles & 50–950 ramp

primary
#B1BB38
secondary
#8B86C8
accent
#4BDD56
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141309
muted
#82827B

Preview Lab

Preview with #B1BB38

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

Preview Lab → · Contrast checker → · Palette generator →

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