#B7BB32#B7BB32

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

Color values

HEX#B7BB32
RGBrgb(183, 187, 50)
HSLhsl(62, 58%, 46%)
HSVhsv(62, 73%, 73%)
CMYKcmyk(2.1%, 0%, 73.3%, 26.7%)
CIE-LABlab(73.44, -17.58, 64.37)
CIE-LCHlch(73.44, 66.72, 105.28°)
OKLaboklab(76.5% -0.055 0.1419)
OKLCHoklch(76.5% 0.152 111.2)
XYZxyz(37.8758, 45.8392, 9.8697)
Luminance0.4584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BB32 #3632BB
analogous
#BB7B32 #B7BB32 #73BB32
triadic
#B7BB32 #32B7BB #BB32B7
tetradic
#B7BB32 #32BB7B #3632BB #BB3273
square
#B7BB32 #32BB7B #3632BB #BB3273
split-complementary
#B7BB32 #3273BB #7B32BB
monochromatic
#585A18 #888B25 #B7BB32 #CFD258 #DDDF88

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7BB32#FFFFFF#000000##000000
##B7BB321.002.0710.1710.17
#FFFFFF2.071.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7bb32;
/* rgb */ color: rgb(183, 187, 50);
/* oklch */ color: oklch(76.5% 0.152 111.2);
Tailwind
colors: {
  custom: {
    50: '#d0cf74',
    500: '#b7bb32',
    950: '#000000',
  },
}
SCSS
$custom: #b7bb32;
$custom-light: #d0cf74;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bb32",
  "rgb": {
    "r": 183,
    "g": 187,
    "b": 50
  },
  "hsl": {
    "h": 61.752,
    "s": 57.806,
    "l": 46.471
  },
  "oklch": {
    "l": 0.76501,
    "c": 0.15222,
    "h": 111.2
  },
  "luminance": 0.45838
}

Semantic roles & 50–950 ramp

primary
#B7BB32
secondary
#8280C9
accent
#47E14B
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B7BB32

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

Preview Lab → · Contrast checker → · Palette generator →

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