#B8BB30#B8BB30

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

Color values

HEX#B8BB30
RGBrgb(184, 187, 48)
HSLhsl(61, 59%, 46%)
HSVhsv(61, 74%, 73%)
CMYKcmyk(1.6%, 0%, 74.3%, 26.7%)
CIE-LABlab(73.51, -17.24, 65.13)
CIE-LCHlch(73.51, 67.38, 104.83°)
OKLaboklab(76.57% -0.0543 0.1431)
OKLCHoklch(76.57% 0.153 110.8)
XYZxyz(38.0723, 45.9454, 9.6586)
Luminance0.4594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BB30 #3330BB
analogous
#BB7830 #B8BB30 #72BB30
triadic
#B8BB30 #30B8BB #BB30B8
tetradic
#B8BB30 #30BB78 #3330BB #BB3072
square
#B8BB30 #30BB78 #3330BB #BB3072
split-complementary
#B8BB30 #3072BB #7830BB
monochromatic
#585A17 #888A23 #B8BB30 #D1D355 #DEE086

Accessibility & contrast

On white

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

On black

10.19
#B8BB30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8BB30
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8BB30#FFFFFF#000000##000000
##B8BB301.002.0610.1910.19
#FFFFFF2.061.0021.0021.00
#00000010.1921.001.001.00
##00000010.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB310
Deuteranopia (green-blind)
#CBB63B
Tritanopia (blue-blind)
#C5AFA1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b8bb30;
/* rgb */ color: rgb(184, 187, 48);
/* oklch */ color: oklch(76.6% 0.153 110.8);
Tailwind
colors: {
  custom: {
    50: '#d1cf73',
    500: '#b8bb30',
    950: '#000000',
  },
}
SCSS
$custom: #b8bb30;
$custom-light: #d1cf73;
$custom-dark: #000000;
JSON
{
  "hex": "#b8bb30",
  "rgb": {
    "r": 184,
    "g": 187,
    "b": 48
  },
  "hsl": {
    "h": 61.295,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.76572,
    "c": 0.1531,
    "h": 110.8
  },
  "luminance": 0.45944
}

Semantic roles & 50–950 ramp

primary
#B8BB30
secondary
#7F7DC9
accent
#45E249
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B8BB30

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

Preview Lab → · Contrast checker → · Palette generator →

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