#B7BB2C#B7BB2C

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

Color values

HEX#B7BB2C
RGBrgb(183, 187, 44)
HSLhsl(62, 62%, 45%)
HSVhsv(62, 76%, 73%)
CMYKcmyk(2.1%, 0%, 76.5%, 26.7%)
CIE-LABlab(73.41, -17.84, 66.29)
CIE-LCHlch(73.41, 68.65, 105.06°)
OKLaboklab(76.47% -0.0563 0.1449)
OKLCHoklch(76.47% 0.155 111.2)
XYZxyz(37.7547, 45.7908, 9.2321)
Luminance0.4579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BB2C #302CBB
analogous
#BB772C #B7BB2C #70BB2C
triadic
#B7BB2C #2CB7BB #BB2CB7
tetradic
#B7BB2C #2CBB77 #302CBB #BB2C70
square
#B7BB2C #2CBB77 #302CBB #BB2C70
split-complementary
#B7BB2C #2C70BB #772CBB
monochromatic
#565815 #878920 #B7BB2C #D2D64F #DEE180

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7BB2C#FFFFFF#000000##000000
##B7BB2C1.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)
#CAB202
Deuteranopia (green-blind)
#CBB638
Tritanopia (blue-blind)
#C4AFA0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b7bb2c;
/* rgb */ color: rgb(183, 187, 44);
/* oklch */ color: oklch(76.5% 0.155 111.2);
Tailwind
colors: {
  custom: {
    50: '#d0cf71',
    500: '#b7bb2c',
    950: '#000000',
  },
}
SCSS
$custom: #b7bb2c;
$custom-light: #d0cf71;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bb2c",
  "rgb": {
    "r": 183,
    "g": 187,
    "b": 44
  },
  "hsl": {
    "h": 61.678,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.76466,
    "c": 0.15546,
    "h": 111.2
  },
  "luminance": 0.4579
}

Semantic roles & 50–950 ramp

primary
#B7BB2C
secondary
#7B79CA
accent
#43E547
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B7BB2C

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

Preview Lab → · Contrast checker → · Palette generator →

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