#B9BC22#B9BC22

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

Color values

HEX#B9BC22
RGBrgb(185, 188, 34)
HSLhsl(61, 69%, 44%)
HSVhsv(61, 82%, 74%)
CMYKcmyk(1.6%, 0%, 81.9%, 26.3%)
CIE-LABlab(73.80, -17.83, 69.52)
CIE-LCHlch(73.80, 71.77, 104.39°)
OKLaboklab(76.81% -0.0571 0.15)
OKLCHoklch(76.81% 0.16 110.8)
XYZxyz(38.2810, 46.3973, 8.4521)
Luminance0.4640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BC22 #2522BC
analogous
#BC7222 #B9BC22 #6CBC22
triadic
#B9BC22 #22B9BC #BC22B9
tetradic
#B9BC22 #22BC72 #2522BC #BC226C
square
#B9BC22 #22BC72 #2522BC #BC226C
split-complementary
#B9BC22 #226CBC #7222BC
monochromatic
#53540F #868819 #B9BC22 #D9DC3F #E3E673

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9BC22#FFFFFF#000000##000000
##B9BC221.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)
#CDB732
Tritanopia (blue-blind)
#C6B0A1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b9bc22;
/* rgb */ color: rgb(185, 188, 34);
/* oklch */ color: oklch(76.8% 0.160 110.8);
Tailwind
colors: {
  custom: {
    50: '#d2cf6d',
    500: '#b9bc22',
    950: '#000000',
  },
}
SCSS
$custom: #b9bc22;
$custom-light: #d2cf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#b9bc22",
  "rgb": {
    "r": 185,
    "g": 188,
    "b": 34
  },
  "hsl": {
    "h": 61.169,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.76806,
    "c": 0.16048,
    "h": 110.8
  },
  "luminance": 0.46396
}

Semantic roles & 50–950 ramp

primary
#B9BC22
secondary
#6F6DCD
accent
#3CEC3F
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B9BC22

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

Preview Lab → · Contrast checker → · Palette generator →

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