#B9BC21#B9BC21

#B9BC21 is a light, vivid yellow. Relative luminance 0.464; OKLCH L 76.8% C 0.161 H 110.9°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#B9BC21
RGBrgb(185, 188, 33)
HSLhsl(61, 70%, 43%)
HSVhsv(61, 82%, 74%)
CMYKcmyk(1.6%, 0%, 82.4%, 26.3%)
CIE-LABlab(73.80, -17.86, 69.76)
CIE-LCHlch(73.80, 72.01, 104.36°)
OKLaboklab(76.8% -0.0573 0.1503)
OKLCHoklch(76.8% 0.161 110.9)
XYZxyz(38.2668, 46.3916, 8.3773)
Luminance0.4639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BC21 #2421BC
analogous
#BC7121 #B9BC21 #6BBC21
triadic
#B9BC21 #21B9BC #BC21B9
tetradic
#B9BC21 #21BC71 #2421BC #BC216B
square
#B9BC21 #21BC71 #2421BC #BC216B
split-complementary
#B9BC21 #216BBC #7121BC
monochromatic
#53540F #868818 #B9BC21 #DADD3D #E4E671

Accessibility & contrast

On white

2.04
#B9BC21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.28
#B9BC21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9BC21
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9BC21#FFFFFF#000000##000000
##B9BC211.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB300
Deuteranopia (green-blind)
#CDB731
Tritanopia (blue-blind)
#C6B0A1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b9bc21;
/* rgb */ color: rgb(185, 188, 33);
/* oklch */ color: oklch(76.8% 0.161 110.9);
Tailwind
colors: {
  custom: {
    50: '#d2cf6d',
    500: '#b9bc21',
    950: '#000000',
  },
}
SCSS
$custom: #b9bc21;
$custom-light: #d2cf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#b9bc21",
  "rgb": {
    "r": 185,
    "g": 188,
    "b": 33
  },
  "hsl": {
    "h": 61.161,
    "s": 70.136,
    "l": 43.333
  },
  "oklch": {
    "l": 0.76802,
    "c": 0.16087,
    "h": 110.9
  },
  "luminance": 0.46391
}

Semantic roles & 50–950 ramp

primary
#B9BC21
secondary
#6E6CCD
accent
#3BED3E
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B9BC21

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

Preview Lab → · Contrast checker → · Palette generator →

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