#B8BB23#B8BB23

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

Color values

HEX#B8BB23
RGBrgb(184, 187, 35)
HSLhsl(61, 68%, 44%)
HSVhsv(61, 81%, 73%)
CMYKcmyk(1.6%, 0%, 81.3%, 26.7%)
CIE-LABlab(73.45, -17.73, 68.93)
CIE-LCHlch(73.45, 71.17, 104.43°)
OKLaboklab(76.51% -0.0567 0.1489)
OKLCHoklch(76.51% 0.159 110.8)
XYZxyz(37.8423, 45.8534, 8.4470)
Luminance0.4585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BB23 #2623BB
analogous
#BB7223 #B8BB23 #6CBB23
triadic
#B8BB23 #23B8BB #BB23B8
tetradic
#B8BB23 #23BB72 #2623BB #BB236C
square
#B8BB23 #23BB72 #2623BB #BB236C
split-complementary
#B8BB23 #236CBB #7223BB
monochromatic
#535410 #858719 #B8BB23 #D8DB40 #E3E574

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8BB23#FFFFFF#000000##000000
##B8BB231.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)
#CBB632
Tritanopia (blue-blind)
#C5AFA0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b8bb23;
/* rgb */ color: rgb(184, 187, 35);
/* oklch */ color: oklch(76.5% 0.159 110.8);
Tailwind
colors: {
  custom: {
    50: '#d1cf6e',
    500: '#b8bb23',
    950: '#000000',
  },
}
SCSS
$custom: #b8bb23;
$custom-light: #d1cf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b8bb23",
  "rgb": {
    "r": 184,
    "g": 187,
    "b": 35
  },
  "hsl": {
    "h": 61.184,
    "s": 68.468,
    "l": 43.529
  },
  "oklch": {
    "l": 0.76506,
    "c": 0.15934,
    "h": 110.8
  },
  "luminance": 0.45852
}

Semantic roles & 50–950 ramp

primary
#B8BB23
secondary
#706ECC
accent
#3CEB40
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B8BB23

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

Preview Lab → · Contrast checker → · Palette generator →

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