#B8BB38#B8BB38

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

Color values

HEX#B8BB38
RGBrgb(184, 187, 56)
HSLhsl(61, 54%, 48%)
HSVhsv(61, 70%, 73%)
CMYKcmyk(1.6%, 0%, 70.1%, 26.7%)
CIE-LABlab(73.56, -16.86, 62.38)
CIE-LCHlch(73.56, 64.62, 105.13°)
OKLaboklab(76.63% -0.0525 0.1387)
OKLCHoklch(76.63% 0.148 110.7)
XYZxyz(38.2526, 46.0175, 10.6079)
Luminance0.4602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BB38 #3B38BB
analogous
#BB7C38 #B8BB38 #76BB38
triadic
#B8BB38 #38B8BB #BB38B8
tetradic
#B8BB38 #38BB7C #3B38BB #BB3876
square
#B8BB38 #38BB7C #3B38BB #BB3876
split-complementary
#B8BB38 #3876BB #7C38BB
monochromatic
#5B5D1C #8A8C2A #B8BB38 #CDD061 #DCDE90

Accessibility & contrast

On white

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

On black

10.20
#B8BB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8BB38
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8BB38#FFFFFF#000000##000000
##B8BB381.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8bb38;
/* rgb */ color: rgb(184, 187, 56);
/* oklch */ color: oklch(76.6% 0.148 110.7);
Tailwind
colors: {
  custom: {
    50: '#d1cf77',
    500: '#b8bb38',
    950: '#000000',
  },
}
SCSS
$custom: #b8bb38;
$custom-light: #d1cf77;
$custom-dark: #000000;
JSON
{
  "hex": "#b8bb38",
  "rgb": {
    "r": 184,
    "g": 187,
    "b": 56
  },
  "hsl": {
    "h": 61.374,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.76625,
    "c": 0.14836,
    "h": 110.7
  },
  "luminance": 0.46017
}

Semantic roles & 50–950 ramp

primary
#B8BB38
secondary
#8886C8
accent
#4BDD4E
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B8BB38

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

Preview Lab → · Contrast checker → · Palette generator →

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