#B8BB40#B8BB40

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

Color values

HEX#B8BB40
RGBrgb(184, 187, 64)
HSLhsl(61, 49%, 49%)
HSVhsv(61, 66%, 73%)
CMYKcmyk(1.6%, 0%, 65.8%, 26.7%)
CIE-LABlab(73.61, -16.42, 59.36)
CIE-LCHlch(73.61, 61.59, 105.46°)
OKLaboklab(76.69% -0.0505 0.1337)
OKLCHoklch(76.69% 0.143 110.7)
XYZxyz(38.4641, 46.1022, 11.7219)
Luminance0.4610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BB40 #4340BB
analogous
#BB8040 #B8BB40 #7BBB40
triadic
#B8BB40 #40B8BB #BB40B8
tetradic
#B8BB40 #40BB80 #4340BB #BB407B
square
#B8BB40 #40BB80 #4340BB #BB407B
split-complementary
#B8BB40 #407BBB #8040BB
monochromatic
#5E6021 #8B8D30 #B8BB40 #CACD6C #DBDC99

Accessibility & contrast

On white

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

On black

10.22
#B8BB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8BB40
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8BB40#FFFFFF#000000##000000
##B8BB401.002.0510.2210.22
#FFFFFF2.051.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8bb40;
/* rgb */ color: rgb(184, 187, 64);
/* oklch */ color: oklch(76.7% 0.143 110.7);
Tailwind
colors: {
  custom: {
    50: '#d0cf7b',
    500: '#b8bb40',
    950: '#000000',
  },
}
SCSS
$custom: #b8bb40;
$custom-light: #d0cf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b8bb40",
  "rgb": {
    "r": 184,
    "g": 187,
    "b": 64
  },
  "hsl": {
    "h": 61.463,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.76686,
    "c": 0.14291,
    "h": 110.7
  },
  "luminance": 0.46101
}

Semantic roles & 50–950 ramp

primary
#B8BB40
secondary
#908FC8
accent
#4FD953
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B8BB40

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

Preview Lab → · Contrast checker → · Palette generator →

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