#B7BB38#B7BB38

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

Color values

HEX#B7BB38
RGBrgb(183, 187, 56)
HSLhsl(62, 54%, 48%)
HSVhsv(62, 70%, 73%)
CMYKcmyk(2.1%, 0%, 70.1%, 26.7%)
CIE-LABlab(73.48, -17.29, 62.28)
CIE-LCHlch(73.48, 64.63, 105.52°)
OKLaboklab(76.54% -0.0537 0.1386)
OKLCHoklch(76.54% 0.149 111.2)
XYZxyz(38.0138, 45.8944, 10.5967)
Luminance0.4589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BB38 #3C38BB
analogous
#BB7D38 #B7BB38 #76BB38
triadic
#B7BB38 #38B7BB #BB38B7
tetradic
#B7BB38 #38BB7D #3C38BB #BB3876
square
#B7BB38 #38BB7D #3C38BB #BB3876
split-complementary
#B7BB38 #3876BB #7D38BB
monochromatic
#5B5D1C #898C2A #B7BB38 #CCD061 #DBDE90

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7BB38#FFFFFF#000000##000000
##B7BB381.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)
#C9B322
Deuteranopia (green-blind)
#CAB642
Tritanopia (blue-blind)
#C4AFA1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b7bb38;
/* rgb */ color: rgb(183, 187, 56);
/* oklch */ color: oklch(76.5% 0.149 111.2);
Tailwind
colors: {
  custom: {
    50: '#d0cf77',
    500: '#b7bb38',
    950: '#000000',
  },
}
SCSS
$custom: #b7bb38;
$custom-light: #d0cf77;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bb38",
  "rgb": {
    "r": 183,
    "g": 187,
    "b": 56
  },
  "hsl": {
    "h": 61.832,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.76541,
    "c": 0.14858,
    "h": 111.2
  },
  "luminance": 0.45893
}

Semantic roles & 50–950 ramp

primary
#B7BB38
secondary
#8886C8
accent
#4BDD4F
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B7BB38

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

Preview Lab → · Contrast checker → · Palette generator →

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