#B7BB34#B7BB34

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

Color values

HEX#B7BB34
RGBrgb(183, 187, 52)
HSLhsl(62, 56%, 47%)
HSVhsv(62, 72%, 73%)
CMYKcmyk(2.1%, 0%, 72.2%, 26.7%)
CIE-LABlab(73.45, -17.49, 63.69)
CIE-LCHlch(73.45, 66.05, 105.35°)
OKLaboklab(76.51% -0.0546 0.1408)
OKLCHoklch(76.51% 0.151 111.2)
XYZxyz(37.9199, 45.8569, 10.1019)
Luminance0.4586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BB34 #3834BB
analogous
#BB7C34 #B7BB34 #74BB34
triadic
#B7BB34 #34B7BB #BB34B7
tetradic
#B7BB34 #34BB7C #3834BB #BB3474
square
#B7BB34 #34BB7C #3834BB #BB3474
split-complementary
#B7BB34 #3474BB #7C34BB
monochromatic
#595B19 #888B27 #B7BB34 #CED15B #DCDF8B

Accessibility & contrast

On white

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

On black

10.17
#B7BB34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BB34
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BB34#FFFFFF#000000##000000
##B7BB341.002.0610.1710.17
#FFFFFF2.061.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB31A
Deuteranopia (green-blind)
#CAB63F
Tritanopia (blue-blind)
#C4AFA1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b7bb34;
/* rgb */ color: rgb(183, 187, 52);
/* oklch */ color: oklch(76.5% 0.151 111.2);
Tailwind
colors: {
  custom: {
    50: '#d0cf75',
    500: '#b7bb34',
    950: '#000000',
  },
}
SCSS
$custom: #b7bb34;
$custom-light: #d0cf75;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bb34",
  "rgb": {
    "r": 183,
    "g": 187,
    "b": 52
  },
  "hsl": {
    "h": 61.778,
    "s": 56.485,
    "l": 46.863
  },
  "oklch": {
    "l": 0.76514,
    "c": 0.15104,
    "h": 111.2
  },
  "luminance": 0.45856
}

Semantic roles & 50–950 ramp

primary
#B7BB34
secondary
#8482C9
accent
#48E04D
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B7BB34

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

Preview Lab → · Contrast checker → · Palette generator →

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