#B9BB23#B9BB23

#B9BB23 is a light, vivid yellow. Relative luminance 0.460; OKLCH L 76.6% C 0.159 H 110.4°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#B9BB23
RGBrgb(185, 187, 35)
HSLhsl(61, 68%, 44%)
HSVhsv(61, 81%, 73%)
CMYKcmyk(1.1%, 0%, 81.3%, 26.7%)
CIE-LABlab(73.53, -17.30, 69.03)
CIE-LCHlch(73.53, 71.16, 104.07°)
OKLaboklab(76.59% -0.0556 0.1491)
OKLCHoklch(76.59% 0.159 110.4)
XYZxyz(38.0827, 45.9774, 8.4582)
Luminance0.4598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BB23 #2523BB
analogous
#BB7123 #B9BB23 #6DBB23
triadic
#B9BB23 #23B9BB #BB23B9
tetradic
#B9BB23 #23BB71 #2523BB #BB236D
square
#B9BB23 #23BB71 #2523BB #BB236D
split-complementary
#B9BB23 #236DBB #7123BB
monochromatic
#535410 #868719 #B9BB23 #D9DB40 #E3E574

Accessibility & contrast

On white

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

On black

10.20
#B9BB23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9BB23
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9BB23#FFFFFF#000000##000000
##B9BB231.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB200
Deuteranopia (green-blind)
#CCB732
Tritanopia (blue-blind)
#C7AFA0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b9bb23;
/* rgb */ color: rgb(185, 187, 35);
/* oklch */ color: oklch(76.6% 0.159 110.4);
Tailwind
colors: {
  custom: {
    50: '#d2cf6e',
    500: '#b9bb23',
    950: '#000000',
  },
}
SCSS
$custom: #b9bb23;
$custom-light: #d2cf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b9bb23",
  "rgb": {
    "r": 185,
    "g": 187,
    "b": 35
  },
  "hsl": {
    "h": 60.789,
    "s": 68.468,
    "l": 43.529
  },
  "oklch": {
    "l": 0.7659,
    "c": 0.15911,
    "h": 110.4
  },
  "luminance": 0.45976
}

Semantic roles & 50–950 ramp

primary
#B9BB23
secondary
#6F6ECC
accent
#3CEB3F
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B9BB23

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

Preview Lab → · Contrast checker → · Palette generator →

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