#B4BB38#B4BB38

#B4BB38 is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.3% C 0.149 H 112.5°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#B4BB38
RGBrgb(180, 187, 56)
HSLhsl(63, 54%, 48%)
HSVhsv(63, 70%, 73%)
CMYKcmyk(3.7%, 0%, 70.1%, 26.7%)
CIE-LABlab(73.24, -18.56, 61.96)
CIE-LCHlch(73.24, 64.68, 106.68°)
OKLaboklab(76.29% -0.0571 0.138)
OKLCHoklch(76.29% 0.149 112.5)
XYZxyz(37.3077, 45.5303, 10.5636)
Luminance0.4553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BB38 #3F38BB
analogous
#BB8038 #B4BB38 #73BB38
triadic
#B4BB38 #38B4BB #BB38B4
tetradic
#B4BB38 #38BB80 #3F38BB #BB3873
square
#B4BB38 #38BB80 #3F38BB #BB3873
split-complementary
#B4BB38 #3873BB #8038BB
monochromatic
#595D1C #878C2A #B4BB38 #CAD061 #DADE90

Accessibility & contrast

On white

2.08
#B4BB38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.11
#B4BB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4BB38
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4BB38#FFFFFF#000000##000000
##B4BB381.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B222
Deuteranopia (green-blind)
#C9B542
Tritanopia (blue-blind)
#C0B0A1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b4bb38;
/* rgb */ color: rgb(180, 187, 56);
/* oklch */ color: oklch(76.3% 0.149 112.5);
Tailwind
colors: {
  custom: {
    50: '#cecf77',
    500: '#b4bb38',
    950: '#000000',
  },
}
SCSS
$custom: #b4bb38;
$custom-light: #cecf77;
$custom-dark: #000000;
JSON
{
  "hex": "#b4bb38",
  "rgb": {
    "r": 180,
    "g": 187,
    "b": 56
  },
  "hsl": {
    "h": 63.206,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.76293,
    "c": 0.14931,
    "h": 112.5
  },
  "luminance": 0.45529
}

Semantic roles & 50–950 ramp

primary
#B4BB38
secondary
#8A86C8
accent
#4BDD52
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B4BB38

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

Preview Lab → · Contrast checker → · Palette generator →

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