#BBBA38#BBBA38

#BBBA38 is a light, vivid yellow. Relative luminance 0.460; OKLCH L 76.7% C 0.147 H 109.0°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#BBBA38
RGBrgb(187, 186, 56)
HSLhsl(60, 54%, 48%)
HSVhsv(60, 70%, 73%)
CMYKcmyk(0%, 0.5%, 70.1%, 26.7%)
CIE-LABlab(73.53, -15.08, 62.43)
CIE-LCHlch(73.53, 64.23, 103.58°)
OKLaboklab(76.66% -0.0477 0.1388)
OKLCHoklch(76.66% 0.147 109)
XYZxyz(38.7676, 45.9693, 10.5714)
Luminance0.4597 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBBA38 #3839BB
analogous
#BB7838 #BBBA38 #7ABB38
triadic
#BBBA38 #38BBBA #BA38BB
tetradic
#BBBA38 #38BB78 #3839BB #BB387A
square
#BBBA38 #38BB78 #3839BB #BB387A
split-complementary
#BBBA38 #387ABB #7838BB
monochromatic
#5D5C1C #8C8B2A #BBBA38 #D0CF61 #DEDD90

Accessibility & contrast

On white

2.06
#BBBA38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.19
#BBBA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBBA38
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBBA38#FFFFFF#000000##000000
##BBBA381.002.0610.1910.19
#FFFFFF2.061.0021.0021.00
#00000010.1921.001.001.00
##00000010.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B222
Deuteranopia (green-blind)
#CBB741
Tritanopia (blue-blind)
#C8AEA0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #bbba38;
/* rgb */ color: rgb(187, 186, 56);
/* oklch */ color: oklch(76.7% 0.147 109.0);
Tailwind
colors: {
  custom: {
    50: '#d3ce77',
    500: '#bbba38',
    950: '#000000',
  },
}
SCSS
$custom: #bbba38;
$custom-light: #d3ce77;
$custom-dark: #000000;
JSON
{
  "hex": "#bbba38",
  "rgb": {
    "r": 187,
    "g": 186,
    "b": 56
  },
  "hsl": {
    "h": 59.542,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.76659,
    "c": 0.14672,
    "h": 109
  },
  "luminance": 0.45968
}

Semantic roles & 50–950 ramp

primary
#BBBA38
secondary
#8687C8
accent
#4CDD4B
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#151309
muted
#83827B

Preview Lab

Preview with #BBBA38

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

Preview Lab → · Contrast checker → · Palette generator →

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