#B8BB26#B8BB26

#B8BB26 is a light, vivid yellow. Relative luminance 0.459; OKLCH L 76.5% C 0.158 H 110.8°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#B8BB26
RGBrgb(184, 187, 38)
HSLhsl(61, 66%, 44%)
HSVhsv(61, 80%, 73%)
CMYKcmyk(1.6%, 0%, 79.7%, 26.7%)
CIE-LABlab(73.46, -17.63, 68.13)
CIE-LCHlch(73.46, 70.38, 104.51°)
OKLaboklab(76.52% -0.0562 0.1477)
OKLCHoklch(76.52% 0.158 110.8)
XYZxyz(37.8887, 45.8720, 8.6917)
Luminance0.4587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BB26 #2926BB
analogous
#BB7426 #B8BB26 #6EBB26
triadic
#B8BB26 #26B8BB #BB26B8
tetradic
#B8BB26 #26BB74 #2926BB #BB266E
square
#B8BB26 #26BB74 #2926BB #BB266E
split-complementary
#B8BB26 #266EBB #7426BB
monochromatic
#545511 #86881C #B8BB26 #D6D945 #E1E478

Accessibility & contrast

On white

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

On black

10.17
#B8BB26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8BB26
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8BB26#FFFFFF#000000##000000
##B8BB261.002.0610.1710.17
#FFFFFF2.061.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB200
Deuteranopia (green-blind)
#CBB634
Tritanopia (blue-blind)
#C5AFA0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b8bb26;
/* rgb */ color: rgb(184, 187, 38);
/* oklch */ color: oklch(76.5% 0.158 110.8);
Tailwind
colors: {
  custom: {
    50: '#d1cf6f',
    500: '#b8bb26',
    950: '#000000',
  },
}
SCSS
$custom: #b8bb26;
$custom-light: #d1cf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b8bb26",
  "rgb": {
    "r": 184,
    "g": 187,
    "b": 38
  },
  "hsl": {
    "h": 61.208,
    "s": 66.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.76519,
    "c": 0.15807,
    "h": 110.8
  },
  "luminance": 0.45871
}

Semantic roles & 50–950 ramp

primary
#B8BB26
secondary
#7372CB
accent
#3FE942
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B8BB26

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

Preview Lab → · Contrast checker → · Palette generator →

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