#B7BB39#B7BB39

#B7BB39 is a light, vivid yellow. Relative luminance 0.459; OKLCH L 76.5% C 0.148 H 111.2°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#B7BB39
RGBrgb(183, 187, 57)
HSLhsl(62, 53%, 48%)
HSVhsv(62, 70%, 73%)
CMYKcmyk(2.1%, 0%, 69.5%, 26.7%)
CIE-LABlab(73.48, -17.24, 61.91)
CIE-LCHlch(73.48, 64.27, 105.56°)
OKLaboklab(76.55% -0.0534 0.138)
OKLCHoklch(76.55% 0.148 111.2)
XYZxyz(38.0385, 45.9043, 10.7268)
Luminance0.4590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BB39 #3D39BB
analogous
#BB7E39 #B7BB39 #76BB39
triadic
#B7BB39 #39B7BB #BB39B7
tetradic
#B7BB39 #39BB7E #3D39BB #BB3976
square
#B7BB39 #39BB7E #3D39BB #BB3976
split-complementary
#B7BB39 #3976BB #7E39BB
monochromatic
#5B5D1C #898C2B #B7BB39 #CCCF62 #DBDD91

Accessibility & contrast

On white

2.06
#B7BB39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.18
#B7BB39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BB39
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BB39#FFFFFF#000000##000000
##B7BB391.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B324
Deuteranopia (green-blind)
#CAB643
Tritanopia (blue-blind)
#C4B0A1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b7bb39;
/* rgb */ color: rgb(183, 187, 57);
/* oklch */ color: oklch(76.5% 0.148 111.2);
Tailwind
colors: {
  custom: {
    50: '#d0cf78',
    500: '#b7bb39',
    950: '#000000',
  },
}
SCSS
$custom: #b7bb39;
$custom-light: #d0cf78;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bb39",
  "rgb": {
    "r": 183,
    "g": 187,
    "b": 57
  },
  "hsl": {
    "h": 61.846,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.76548,
    "c": 0.14794,
    "h": 111.2
  },
  "luminance": 0.45903
}

Semantic roles & 50–950 ramp

primary
#B7BB39
secondary
#8987C8
accent
#4BDD50
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B7BB39

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

Preview Lab → · Contrast checker → · Palette generator →

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