#B6BB28#B6BB28

#B6BB28 is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.4% C 0.158 H 111.6°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#B6BB28
RGBrgb(182, 187, 40)
HSLhsl(62, 65%, 45%)
HSVhsv(62, 79%, 73%)
CMYKcmyk(2.7%, 0%, 78.6%, 26.7%)
CIE-LABlab(73.31, -18.42, 67.37)
CIE-LCHlch(73.31, 69.84, 105.29°)
OKLaboklab(76.36% -0.0581 0.1465)
OKLCHoklch(76.36% 0.158 111.6)
XYZxyz(37.4460, 45.6399, 8.8439)
Luminance0.4564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6BB28 #2D28BB
analogous
#BB7728 #B6BB28 #6DBB28
triadic
#B6BB28 #28B6BB #BB28B6
tetradic
#B6BB28 #28BB77 #2D28BB #BB286D
square
#B6BB28 #28BB77 #2D28BB #BB286D
split-complementary
#B6BB28 #286DBB #7728BB
monochromatic
#545612 #85891D #B6BB28 #D3D848 #DFE37B

Accessibility & contrast

On white

2.07
#B6BB28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.13
#B6BB28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6BB28
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6BB28#FFFFFF#000000##000000
##B6BB281.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB200
Deuteranopia (green-blind)
#CBB636
Tritanopia (blue-blind)
#C3AFA0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b6bb28;
/* rgb */ color: rgb(182, 187, 40);
/* oklch */ color: oklch(76.4% 0.158 111.6);
Tailwind
colors: {
  custom: {
    50: '#d0cf70',
    500: '#b6bb28',
    950: '#000000',
  },
}
SCSS
$custom: #b6bb28;
$custom-light: #d0cf70;
$custom-dark: #000000;
JSON
{
  "hex": "#b6bb28",
  "rgb": {
    "r": 182,
    "g": 187,
    "b": 40
  },
  "hsl": {
    "h": 62.041,
    "s": 64.758,
    "l": 44.51
  },
  "oklch": {
    "l": 0.76362,
    "c": 0.15766,
    "h": 111.6
  },
  "luminance": 0.45639
}

Semantic roles & 50–950 ramp

primary
#B6BB28
secondary
#7774CB
accent
#40E846
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B6BB28

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

Preview Lab → · Contrast checker → · Palette generator →

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