#B2BB38#B2BB38

#B2BB38 is a light, vivid yellow. Relative luminance 0.453; OKLCH L 76.1% C 0.150 H 113.3°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#B2BB38
RGBrgb(178, 187, 56)
HSLhsl(64, 54%, 48%)
HSVhsv(64, 70%, 73%)
CMYKcmyk(4.8%, 0%, 70.1%, 26.7%)
CIE-LABlab(73.08, -19.41, 61.76)
CIE-LCHlch(73.08, 64.73, 107.45°)
OKLaboklab(76.13% -0.0593 0.1376)
OKLCHoklch(76.13% 0.15 113.3)
XYZxyz(36.8453, 45.2919, 10.5419)
Luminance0.4529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BB38 #4138BB
analogous
#BB8238 #B2BB38 #71BB38
triadic
#B2BB38 #38B2BB #BB38B2
tetradic
#B2BB38 #38BB82 #4138BB #BB3871
square
#B2BB38 #38BB82 #4138BB #BB3871
split-complementary
#B2BB38 #3871BB #8238BB
monochromatic
#585D1C #858C2A #B2BB38 #C8D061 #D8DE90

Accessibility & contrast

On white

2.09
#B2BB38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.06
#B2BB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BB38
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BB38#FFFFFF#000000##000000
##B2BB381.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2bb38;
/* rgb */ color: rgb(178, 187, 56);
/* oklch */ color: oklch(76.1% 0.150 113.3);
Tailwind
colors: {
  custom: {
    50: '#cccf77',
    500: '#b2bb38',
    950: '#000000',
  },
}
SCSS
$custom: #b2bb38;
$custom-light: #cccf77;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bb38",
  "rgb": {
    "r": 178,
    "g": 187,
    "b": 56
  },
  "hsl": {
    "h": 64.122,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.7613,
    "c": 0.14984,
    "h": 113.3
  },
  "luminance": 0.45291
}

Semantic roles & 50–950 ramp

primary
#B2BB38
secondary
#8B86C8
accent
#4BDD55
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B2BB38

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

Preview Lab → · Contrast checker → · Palette generator →

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