#BBBA40#BBBA40

#BBBA40 is a light, vivid yellow. Relative luminance 0.461; OKLCH L 76.7% C 0.141 H 108.9°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#BBBA40
RGBrgb(187, 186, 64)
HSLhsl(60, 49%, 49%)
HSVhsv(60, 66%, 73%)
CMYKcmyk(0%, 0.5%, 65.8%, 26.7%)
CIE-LABlab(73.58, -14.64, 59.40)
CIE-LCHlch(73.58, 61.18, 103.85°)
OKLaboklab(76.72% -0.0457 0.1337)
OKLCHoklch(76.72% 0.141 108.9)
XYZxyz(38.9791, 46.0539, 11.6855)
Luminance0.4605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBBA40 #4041BB
analogous
#BB7D40 #BBBA40 #7FBB40
triadic
#BBBA40 #40BBBA #BA40BB
tetradic
#BBBA40 #40BB7D #4041BB #BB407F
square
#BBBA40 #40BB7D #4041BB #BB407F
split-complementary
#BBBA40 #407FBB #7D40BB
monochromatic
#605F21 #8D8D30 #BBBA40 #CDCC6C #DCDC99

Accessibility & contrast

On white

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

On black

10.21
#BBBA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBBA40
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBBA40#FFFFFF#000000##000000
##BBBA401.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B32F
Deuteranopia (green-blind)
#CAB748
Tritanopia (blue-blind)
#C8AEA1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #bbba40;
/* rgb */ color: rgb(187, 186, 64);
/* oklch */ color: oklch(76.7% 0.141 108.9);
Tailwind
colors: {
  custom: {
    50: '#d3ce7b',
    500: '#bbba40',
    950: '#000000',
  },
}
SCSS
$custom: #bbba40;
$custom-light: #d3ce7b;
$custom-dark: #000000;
JSON
{
  "hex": "#bbba40",
  "rgb": {
    "r": 187,
    "g": 186,
    "b": 64
  },
  "hsl": {
    "h": 59.512,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.7672,
    "c": 0.14128,
    "h": 108.9
  },
  "luminance": 0.46053
}

Semantic roles & 50–950 ramp

primary
#BBBA40
secondary
#8F8FC8
accent
#50D94F
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BBBA40

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

Preview Lab → · Contrast checker → · Palette generator →

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