#B2BB39#B2BB39

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

Color values

HEX#B2BB39
RGBrgb(178, 187, 57)
HSLhsl(64, 53%, 48%)
HSVhsv(64, 70%, 73%)
CMYKcmyk(4.8%, 0%, 69.5%, 26.7%)
CIE-LABlab(73.09, -19.35, 61.39)
CIE-LCHlch(73.09, 64.37, 107.50°)
OKLaboklab(76.14% -0.0591 0.137)
OKLCHoklch(76.14% 0.149 113.3)
XYZxyz(36.8700, 45.3018, 10.6720)
Luminance0.4530 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BB39 #4239BB
analogous
#BB8339 #B2BB39 #71BB39
triadic
#B2BB39 #39B2BB #BB39B2
tetradic
#B2BB39 #39BB83 #4239BB #BB3971
square
#B2BB39 #39BB83 #4239BB #BB3971
split-complementary
#B2BB39 #3971BB #8339BB
monochromatic
#595D1C #858C2B #B2BB39 #C8CF62 #D8DD91

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2BB39#FFFFFF#000000##000000
##B2BB391.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)
#C9B224
Deuteranopia (green-blind)
#C9B543
Tritanopia (blue-blind)
#BEB0A1
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b2bb39;
/* rgb */ color: rgb(178, 187, 57);
/* oklch */ color: oklch(76.1% 0.149 113.3);
Tailwind
colors: {
  custom: {
    50: '#cccf78',
    500: '#b2bb39',
    950: '#000000',
  },
}
SCSS
$custom: #b2bb39;
$custom-light: #cccf78;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bb39",
  "rgb": {
    "r": 178,
    "g": 187,
    "b": 57
  },
  "hsl": {
    "h": 64.154,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.76137,
    "c": 0.14919,
    "h": 113.3
  },
  "luminance": 0.45301
}

Semantic roles & 50–950 ramp

primary
#B2BB39
secondary
#8C87C8
accent
#4BDD55
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141309
muted
#82827B

Preview Lab

Preview with #B2BB39

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

Preview Lab → · Contrast checker → · Palette generator →

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