#B6BC31#B6BC31

#B6BC31 is a light, vivid yellow. Relative luminance 0.461; OKLCH L 76.6% C 0.154 H 112.0°. Best body text is #000000 at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#B6BC31
RGBrgb(182, 188, 49)
HSLhsl(63, 59%, 46%)
HSVhsv(63, 74%, 74%)
CMYKcmyk(3.2%, 0%, 73.9%, 26.3%)
CIE-LABlab(73.63, -18.55, 64.86)
CIE-LCHlch(73.63, 67.46, 105.96°)
OKLaboklab(76.63% -0.0578 0.1428)
OKLCHoklch(76.63% 0.154 112)
XYZxyz(37.8302, 46.1342, 9.8171)
Luminance0.4613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6BC31 #3731BC
analogous
#BC7D31 #B6BC31 #71BC31
triadic
#B6BC31 #31B6BC #BC31B6
tetradic
#B6BC31 #31BC7D #3731BC #BC3171
square
#B6BC31 #31BC7D #3731BC #BC3171
split-complementary
#B6BC31 #3171BC #7D31BC
monochromatic
#585B18 #878B24 #B6BC31 #CED357 #DCE088

Accessibility & contrast

On white

2.05
#B6BC31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.23
#B6BC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6BC31
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6BC31#FFFFFF#000000##000000
##B6BC311.002.0510.2310.23
#FFFFFF2.051.0021.0021.00
#00000010.2321.001.001.00
##00000010.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b6bc31;
/* rgb */ color: rgb(182, 188, 49);
/* oklch */ color: oklch(76.6% 0.154 112.0);
Tailwind
colors: {
  custom: {
    50: '#cfd074',
    500: '#b6bc31',
    950: '#000000',
  },
}
SCSS
$custom: #b6bc31;
$custom-light: #cfd074;
$custom-dark: #000000;
JSON
{
  "hex": "#b6bc31",
  "rgb": {
    "r": 182,
    "g": 188,
    "b": 49
  },
  "hsl": {
    "h": 62.59,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.76633,
    "c": 0.15406,
    "h": 112
  },
  "luminance": 0.46133
}

Semantic roles & 50–950 ramp

primary
#B6BC31
secondary
#827FCA
accent
#46E24D
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B6BC31

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

Preview Lab → · Contrast checker → · Palette generator →

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