#B9BF34#B9BF34

#B9BF34 is a light, vivid yellow. Relative luminance 0.478; OKLCH L 77.6% C 0.155 H 112.0°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#B9BF34
RGBrgb(185, 191, 52)
HSLhsl(63, 57%, 48%)
HSVhsv(63, 73%, 75%)
CMYKcmyk(3.1%, 0%, 72.8%, 25.1%)
CIE-LABlab(74.71, -18.64, 64.95)
CIE-LCHlch(74.71, 67.57, 106.02°)
OKLaboklab(77.56% -0.0579 0.1434)
OKLCHoklch(77.56% 0.155 112)
XYZxyz(39.2595, 47.8248, 10.4112)
Luminance0.4782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BF34 #3A34BF
analogous
#BF8034 #B9BF34 #73BF34
triadic
#B9BF34 #34B9BF #BF34B9
tetradic
#B9BF34 #34BF80 #3A34BF #BF3473
square
#B9BF34 #34BF80 #3A34BF #BF3473
split-complementary
#B9BF34 #3473BF #8034BF
monochromatic
#5C5F1A #8A8F27 #B9BF34 #CED35D #DCE08D

Accessibility & contrast

On white

1.99
#B9BF34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.56
#B9BF34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9BF34
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9BF34#FFFFFF#000000##000000
##B9BF341.001.9910.5610.56
#FFFFFF1.991.0021.0021.00
#00000010.5621.001.001.00
##00000010.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB618
Deuteranopia (green-blind)
#CEB93F
Tritanopia (blue-blind)
#C6B3A4
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b9bf34;
/* rgb */ color: rgb(185, 191, 52);
/* oklch */ color: oklch(77.6% 0.155 112.0);
Tailwind
colors: {
  custom: {
    50: '#d2d276',
    500: '#b9bf34',
    950: '#000000',
  },
}
SCSS
$custom: #b9bf34;
$custom-light: #d2d276;
$custom-dark: #000000;
JSON
{
  "hex": "#b9bf34",
  "rgb": {
    "r": 185,
    "g": 191,
    "b": 52
  },
  "hsl": {
    "h": 62.59,
    "s": 57.202,
    "l": 47.647
  },
  "oklch": {
    "l": 0.77562,
    "c": 0.15469,
    "h": 112
  },
  "luminance": 0.47824
}

Semantic roles & 50–950 ramp

primary
#B9BF34
secondary
#8784CA
accent
#47E04E
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #B9BF34

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

Preview Lab → · Contrast checker → · Palette generator →

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