#B7BB2B#B7BB2B

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

Color values

HEX#B7BB2B
RGBrgb(183, 187, 43)
HSLhsl(62, 63%, 45%)
HSVhsv(62, 77%, 73%)
CMYKcmyk(2.1%, 0%, 77%, 26.7%)
CIE-LABlab(73.40, -17.88, 66.59)
CIE-LCHlch(73.40, 68.95, 105.03°)
OKLaboklab(76.46% -0.0565 0.1454)
OKLCHoklch(76.46% 0.156 111.2)
XYZxyz(37.7361, 45.7834, 9.1343)
Luminance0.4578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BB2B #2F2BBB
analogous
#BB772B #B7BB2B #6FBB2B
triadic
#B7BB2B #2BB7BB #BB2BB7
tetradic
#B7BB2B #2BBB77 #2F2BBB #BB2B6F
square
#B7BB2B #2BBB77 #2F2BBB #BB2B6F
split-complementary
#B7BB2B #2B6FBB #772BBB
monochromatic
#565714 #868920 #B7BB2B #D2D64D #DFE27F

Accessibility & contrast

On white

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

On black

10.16
#B7BB2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BB2B
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BB2B#FFFFFF#000000##000000
##B7BB2B1.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7bb2b;
/* rgb */ color: rgb(183, 187, 43);
/* oklch */ color: oklch(76.5% 0.156 111.2);
Tailwind
colors: {
  custom: {
    50: '#d0cf71',
    500: '#b7bb2b',
    950: '#000000',
  },
}
SCSS
$custom: #b7bb2b;
$custom-light: #d0cf71;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bb2b",
  "rgb": {
    "r": 183,
    "g": 187,
    "b": 43
  },
  "hsl": {
    "h": 61.667,
    "s": 62.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.7646,
    "c": 0.15597,
    "h": 111.2
  },
  "luminance": 0.45782
}

Semantic roles & 50–950 ramp

primary
#B7BB2B
secondary
#7A78CA
accent
#42E647
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B7BB2B

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

Preview Lab → · Contrast checker → · Palette generator →

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