#B7BB42#B7BB42

#B7BB42 is a light, vivid yellow. Relative luminance 0.460; OKLCH L 76.6% C 0.142 H 111.1°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#B7BB42
RGBrgb(183, 187, 66)
HSLhsl(62, 48%, 50%)
HSVhsv(62, 65%, 73%)
CMYKcmyk(2.1%, 0%, 64.7%, 26.7%)
CIE-LABlab(73.55, -16.72, 58.46)
CIE-LCHlch(73.55, 60.80, 105.96°)
OKLaboklab(76.62% -0.0511 0.1321)
OKLCHoklch(76.62% 0.142 111.1)
XYZxyz(38.2833, 46.0022, 12.0158)
Luminance0.4600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BB42 #4642BB
analogous
#BB8242 #B7BB42 #7BBB42
triadic
#B7BB42 #42B7BB #BB42B7
tetradic
#B7BB42 #42BB82 #4642BB #BB427B
square
#B7BB42 #42BB82 #4642BB #BB427B
split-complementary
#B7BB42 #427BBB #8242BB
monochromatic
#5E6122 #8B8E32 #B7BB42 #C9CC6E #DADC9C

Accessibility & contrast

On white

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

On black

10.20
#B7BB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BB42
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BB42#FFFFFF#000000##000000
##B7BB421.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B332
Deuteranopia (green-blind)
#CAB64A
Tritanopia (blue-blind)
#C3B0A2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b7bb42;
/* rgb */ color: rgb(183, 187, 66);
/* oklch */ color: oklch(76.6% 0.142 111.1);
Tailwind
colors: {
  custom: {
    50: '#d0cf7d',
    500: '#b7bb42',
    950: '#000000',
  },
}
SCSS
$custom: #b7bb42;
$custom-light: #d0cf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bb42",
  "rgb": {
    "r": 183,
    "g": 187,
    "b": 66
  },
  "hsl": {
    "h": 61.983,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.7662,
    "c": 0.14166,
    "h": 111.1
  },
  "luminance": 0.46001
}

Semantic roles & 50–950 ramp

primary
#B7BB42
secondary
#9391C8
accent
#50D755
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B7BB42

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

Preview Lab → · Contrast checker → · Palette generator →

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