#B8BF34#B8BF34

#B8BF34 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.5% C 0.155 H 112.4°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#B8BF34
RGBrgb(184, 191, 52)
HSLhsl(63, 57%, 48%)
HSVhsv(63, 73%, 75%)
CMYKcmyk(3.7%, 0%, 72.8%, 25.1%)
CIE-LABlab(74.64, -19.07, 64.85)
CIE-LCHlch(74.64, 67.59, 106.38°)
OKLaboklab(77.48% -0.059 0.1432)
OKLCHoklch(77.48% 0.155 112.4)
XYZxyz(39.0190, 47.7008, 10.3999)
Luminance0.4770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BF34 #3B34BF
analogous
#BF8134 #B8BF34 #72BF34
triadic
#B8BF34 #34B8BF #BF34B8
tetradic
#B8BF34 #34BF81 #3B34BF #BF3472
square
#B8BF34 #34BF81 #3B34BF #BF3472
split-complementary
#B8BF34 #3472BF #8134BF
monochromatic
#5B5F1A #8A8F27 #B8BF34 #CDD35D #DCE08D

Accessibility & contrast

On white

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

On black

10.54
#B8BF34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8BF34
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8BF34#FFFFFF#000000##000000
##B8BF341.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8bf34;
/* rgb */ color: rgb(184, 191, 52);
/* oklch */ color: oklch(77.5% 0.155 112.4);
Tailwind
colors: {
  custom: {
    50: '#d1d276',
    500: '#b8bf34',
    950: '#000000',
  },
}
SCSS
$custom: #b8bf34;
$custom-light: #d1d276;
$custom-dark: #000000;
JSON
{
  "hex": "#b8bf34",
  "rgb": {
    "r": 184,
    "g": 191,
    "b": 52
  },
  "hsl": {
    "h": 63.022,
    "s": 57.202,
    "l": 47.647
  },
  "oklch": {
    "l": 0.7748,
    "c": 0.15494,
    "h": 112.4
  },
  "luminance": 0.477
}

Semantic roles & 50–950 ramp

primary
#B8BF34
secondary
#8884CA
accent
#47E04F
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B8BF34

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

Preview Lab → · Contrast checker → · Palette generator →

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