#B9BB45#B9BB45

#B9BB45 is a light, vivid yellow. Relative luminance 0.463; OKLCH L 76.8% C 0.139 H 110.2°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#B9BB45
RGBrgb(185, 187, 69)
HSLhsl(61, 46%, 50%)
HSVhsv(61, 63%, 73%)
CMYKcmyk(1.1%, 0%, 63.1%, 26.7%)
CIE-LABlab(73.73, -15.69, 57.46)
CIE-LCHlch(73.73, 59.57, 105.27°)
OKLaboklab(76.81% -0.048 0.1304)
OKLCHoklch(76.81% 0.139 110.2)
XYZxyz(38.8533, 46.2856, 12.5164)
Luminance0.4628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BB45 #4745BB
analogous
#BB8245 #B9BB45 #7EBB45
triadic
#B9BB45 #45B9BB #BB45B9
tetradic
#B9BB45 #45BB82 #4745BB #BB457E
square
#B9BB45 #45BB82 #4745BB #BB457E
split-complementary
#B9BB45 #457EBB #8245BB
monochromatic
#616224 #8D8F34 #B9BB45 #CACB72 #DBDC9F

Accessibility & contrast

On white

2.05
#B9BB45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.26
#B9BB45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9BB45
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9BB45#FFFFFF#000000##000000
##B9BB451.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B336
Deuteranopia (green-blind)
#CAB74D
Tritanopia (blue-blind)
#C5B0A3
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b9bb45;
/* rgb */ color: rgb(185, 187, 69);
/* oklch */ color: oklch(76.8% 0.139 110.2);
Tailwind
colors: {
  custom: {
    50: '#d1cf7e',
    500: '#b9bb45',
    950: '#000000',
  },
}
SCSS
$custom: #b9bb45;
$custom-light: #d1cf7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b9bb45",
  "rgb": {
    "r": 185,
    "g": 187,
    "b": 69
  },
  "hsl": {
    "h": 61.017,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.76813,
    "c": 0.13896,
    "h": 110.2
  },
  "luminance": 0.46285
}

Semantic roles & 50–950 ramp

primary
#B9BB45
secondary
#9494C8
accent
#52D654
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B9BB45

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

Preview Lab → · Contrast checker → · Palette generator →

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