#B6BB31#B6BB31

#B6BB31 is a light, vivid yellow. Relative luminance 0.457; OKLCH L 76.4% C 0.153 H 111.6°. Best body text is #000000 at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#B6BB31
RGBrgb(182, 187, 49)
HSLhsl(62, 58%, 46%)
HSVhsv(62, 74%, 73%)
CMYKcmyk(2.7%, 0%, 73.8%, 26.7%)
CIE-LABlab(73.36, -18.05, 64.60)
CIE-LCHlch(73.36, 67.07, 105.61°)
OKLaboklab(76.41% -0.0564 0.1423)
OKLCHoklch(76.41% 0.153 111.6)
XYZxyz(37.6174, 45.7084, 9.7462)
Luminance0.4571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6BB31 #3631BB
analogous
#BB7B31 #B6BB31 #71BB31
triadic
#B6BB31 #31B6BB #BB31B6
tetradic
#B6BB31 #31BB7B #3631BB #BB3171
square
#B6BB31 #31BB7B #3631BB #BB3171
split-complementary
#B6BB31 #3171BB #7B31BB
monochromatic
#585A18 #878B24 #B6BB31 #CED356 #DCE087

Accessibility & contrast

On white

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

On black

10.14
#B6BB31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6BB31
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6BB31#FFFFFF#000000##000000
##B6BB311.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB213
Deuteranopia (green-blind)
#CAB63C
Tritanopia (blue-blind)
#C3AFA1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b6bb31;
/* rgb */ color: rgb(182, 187, 49);
/* oklch */ color: oklch(76.4% 0.153 111.6);
Tailwind
colors: {
  custom: {
    50: '#cfcf74',
    500: '#b6bb31',
    950: '#000000',
  },
}
SCSS
$custom: #b6bb31;
$custom-light: #cfcf74;
$custom-dark: #000000;
JSON
{
  "hex": "#b6bb31",
  "rgb": {
    "r": 182,
    "g": 187,
    "b": 49
  },
  "hsl": {
    "h": 62.174,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.76412,
    "c": 0.15303,
    "h": 111.6
  },
  "luminance": 0.45707
}

Semantic roles & 50–950 ramp

primary
#B6BB31
secondary
#817FC9
accent
#46E24C
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B6BB31

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

Preview Lab → · Contrast checker → · Palette generator →

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