#B6BB40#B6BB40

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

Color values

HEX#B6BB40
RGBrgb(182, 187, 64)
HSLhsl(62, 49%, 49%)
HSVhsv(62, 66%, 73%)
CMYKcmyk(2.7%, 0%, 65.8%, 26.7%)
CIE-LABlab(73.45, -17.27, 59.15)
CIE-LCHlch(73.45, 61.61, 106.27°)
OKLaboklab(76.52% -0.0527 0.1333)
OKLCHoklch(76.52% 0.143 111.6)
XYZxyz(37.9883, 45.8568, 11.6996)
Luminance0.4586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6BB40 #4540BB
analogous
#BB8340 #B6BB40 #79BB40
triadic
#B6BB40 #40B6BB #BB40B6
tetradic
#B6BB40 #40BB83 #4540BB #BB4079
square
#B6BB40 #40BB83 #4540BB #BB4079
split-complementary
#B6BB40 #4079BB #8340BB
monochromatic
#5D6021 #8A8D30 #B6BB40 #C9CD6C #D9DC99

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B6BB40#FFFFFF#000000##000000
##B6BB401.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)
#C9B32F
Deuteranopia (green-blind)
#CAB648
Tritanopia (blue-blind)
#C2B0A2
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b6bb40;
/* rgb */ color: rgb(182, 187, 64);
/* oklch */ color: oklch(76.5% 0.143 111.6);
Tailwind
colors: {
  custom: {
    50: '#cfcf7b',
    500: '#b6bb40',
    950: '#000000',
  },
}
SCSS
$custom: #b6bb40;
$custom-light: #cfcf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b6bb40",
  "rgb": {
    "r": 182,
    "g": 187,
    "b": 64
  },
  "hsl": {
    "h": 62.439,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.7652,
    "c": 0.14335,
    "h": 111.6
  },
  "luminance": 0.45856
}

Semantic roles & 50–950 ramp

primary
#B6BB40
secondary
#918FC8
accent
#4FD955
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B6BB40

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

Preview Lab → · Contrast checker → · Palette generator →

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