#B8BB3B#B8BB3B

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

Color values

HEX#B8BB3B
RGBrgb(184, 187, 59)
HSLhsl(61, 52%, 48%)
HSVhsv(61, 68%, 73%)
CMYKcmyk(1.6%, 0%, 68.4%, 26.7%)
CIE-LABlab(73.58, -16.71, 61.28)
CIE-LCHlch(73.58, 63.51, 105.25°)
OKLaboklab(76.65% -0.0518 0.1369)
OKLCHoklch(76.65% 0.146 110.7)
XYZxyz(38.3281, 46.0478, 11.0059)
Luminance0.4605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BB3B #3E3BBB
analogous
#BB7E3B #B8BB3B #78BB3B
triadic
#B8BB3B #3BB8BB #BB3BB8
tetradic
#B8BB3B #3BBB7E #3E3BBB #BB3B78
square
#B8BB3B #3BBB7E #3E3BBB #BB3B78
split-complementary
#B8BB3B #3B78BB #7E3BBB
monochromatic
#5C5E1E #8A8C2C #B8BB3B #CCCE65 #DBDD93

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8BB3B#FFFFFF#000000##000000
##B8BB3B1.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)
#C9B327
Deuteranopia (green-blind)
#CAB644
Tritanopia (blue-blind)
#C5B0A2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b8bb3b;
/* rgb */ color: rgb(184, 187, 59);
/* oklch */ color: oklch(76.6% 0.146 110.7);
Tailwind
colors: {
  custom: {
    50: '#d1cf79',
    500: '#b8bb3b',
    950: '#000000',
  },
}
SCSS
$custom: #b8bb3b;
$custom-light: #d1cf79;
$custom-dark: #000000;
JSON
{
  "hex": "#b8bb3b",
  "rgb": {
    "r": 184,
    "g": 187,
    "b": 59
  },
  "hsl": {
    "h": 61.406,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.76647,
    "c": 0.14639,
    "h": 110.7
  },
  "luminance": 0.46047
}

Semantic roles & 50–950 ramp

primary
#B8BB3B
secondary
#8B8AC8
accent
#4CDB50
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B8BB3B

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

Preview Lab → · Contrast checker → · Palette generator →

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