#B7BB28#B7BB28

#B7BB28 is a light, vivid yellow. Relative luminance 0.458; OKLCH L 76.4% C 0.157 H 111.2°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#B7BB28
RGBrgb(183, 187, 40)
HSLhsl(62, 65%, 45%)
HSVhsv(62, 79%, 73%)
CMYKcmyk(2.1%, 0%, 78.6%, 26.7%)
CIE-LABlab(73.39, -17.99, 67.47)
CIE-LCHlch(73.39, 69.83, 104.93°)
OKLaboklab(76.44% -0.057 0.1467)
OKLCHoklch(76.44% 0.157 111.2)
XYZxyz(37.6831, 45.7622, 8.8550)
Luminance0.4576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BB28 #2C28BB
analogous
#BB7628 #B7BB28 #6DBB28
triadic
#B7BB28 #28B7BB #BB28B7
tetradic
#B7BB28 #28BB76 #2C28BB #BB286D
square
#B7BB28 #28BB76 #2C28BB #BB286D
split-complementary
#B7BB28 #286DBB #7628BB
monochromatic
#545612 #86891D #B7BB28 #D4D848 #E0E37B

Accessibility & contrast

On white

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

On black

10.15
#B7BB28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BB28
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BB28#FFFFFF#000000##000000
##B7BB281.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7bb28;
/* rgb */ color: rgb(183, 187, 40);
/* oklch */ color: oklch(76.4% 0.157 111.2);
Tailwind
colors: {
  custom: {
    50: '#d1cf70',
    500: '#b7bb28',
    950: '#000000',
  },
}
SCSS
$custom: #b7bb28;
$custom-light: #d1cf70;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bb28",
  "rgb": {
    "r": 183,
    "g": 187,
    "b": 40
  },
  "hsl": {
    "h": 61.633,
    "s": 64.758,
    "l": 44.51
  },
  "oklch": {
    "l": 0.76445,
    "c": 0.15741,
    "h": 111.2
  },
  "luminance": 0.45761
}

Semantic roles & 50–950 ramp

primary
#B7BB28
secondary
#7674CB
accent
#40E845
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B7BB28

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

Preview Lab → · Contrast checker → · Palette generator →

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