#B9BC34#B9BC34

#B9BC34 is a light, vivid yellow. Relative luminance 0.465; OKLCH L 76.9% C 0.152 H 110.8°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#B9BC34
RGBrgb(185, 188, 52)
HSLhsl(61, 57%, 47%)
HSVhsv(61, 72%, 74%)
CMYKcmyk(1.6%, 0%, 72.3%, 26.3%)
CIE-LABlab(73.89, -17.14, 64.16)
CIE-LCHlch(73.89, 66.41, 104.96°)
OKLaboklab(76.9% -0.0537 0.1418)
OKLCHoklch(76.9% 0.152 110.8)
XYZxyz(38.6120, 46.5297, 10.1953)
Luminance0.4653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BC34 #3734BC
analogous
#BC7B34 #B9BC34 #75BC34
triadic
#B9BC34 #34B9BC #BC34B9
tetradic
#B9BC34 #34BC7B #3734BC #BC3475
square
#B9BC34 #34BC7B #3734BC #BC3475
split-complementary
#B9BC34 #3475BC #7B34BC
monochromatic
#5B5C19 #8A8C27 #B9BC34 #CFD25B #DDDF8B

Accessibility & contrast

On white

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

On black

10.31
#B9BC34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9BC34
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9BC34#FFFFFF#000000##000000
##B9BC341.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB41A
Deuteranopia (green-blind)
#CCB73F
Tritanopia (blue-blind)
#C6B0A2
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b9bc34;
/* rgb */ color: rgb(185, 188, 52);
/* oklch */ color: oklch(76.9% 0.152 110.8);
Tailwind
colors: {
  custom: {
    50: '#d2cf75',
    500: '#b9bc34',
    950: '#000000',
  },
}
SCSS
$custom: #b9bc34;
$custom-light: #d2cf75;
$custom-dark: #000000;
JSON
{
  "hex": "#b9bc34",
  "rgb": {
    "r": 185,
    "g": 188,
    "b": 52
  },
  "hsl": {
    "h": 61.324,
    "s": 56.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.76901,
    "c": 0.1516,
    "h": 110.8
  },
  "luminance": 0.46529
}

Semantic roles & 50–950 ramp

primary
#B9BC34
secondary
#8483C9
accent
#48E04B
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #B9BC34

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

Preview Lab → · Contrast checker → · Palette generator →

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