#B8BC34#B8BC34

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

Color values

HEX#B8BC34
RGBrgb(184, 188, 52)
HSLhsl(62, 57%, 47%)
HSVhsv(62, 72%, 74%)
CMYKcmyk(2.1%, 0%, 72.3%, 26.3%)
CIE-LABlab(73.81, -17.56, 64.06)
CIE-LCHlch(73.81, 66.42, 105.33°)
OKLaboklab(76.82% -0.0549 0.1416)
OKLCHoklch(76.82% 0.152 111.2)
XYZxyz(38.3715, 46.4057, 10.1840)
Luminance0.4641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BC34 #3834BC
analogous
#BC7C34 #B8BC34 #74BC34
triadic
#B8BC34 #34B8BC #BC34B8
tetradic
#B8BC34 #34BC7C #3834BC #BC3474
square
#B8BC34 #34BC7C #3834BC #BC3474
split-complementary
#B8BC34 #3474BC #7C34BC
monochromatic
#5A5C19 #898C27 #B8BC34 #CED25B #DDDF8B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8BC34#FFFFFF#000000##000000
##B8BC341.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)
#CBB41A
Deuteranopia (green-blind)
#CCB73F
Tritanopia (blue-blind)
#C5B0A2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b8bc34;
/* rgb */ color: rgb(184, 188, 52);
/* oklch */ color: oklch(76.8% 0.152 111.2);
Tailwind
colors: {
  custom: {
    50: '#d1cf75',
    500: '#b8bc34',
    950: '#000000',
  },
}
SCSS
$custom: #b8bc34;
$custom-light: #d1cf75;
$custom-dark: #000000;
JSON
{
  "hex": "#b8bc34",
  "rgb": {
    "r": 184,
    "g": 188,
    "b": 52
  },
  "hsl": {
    "h": 61.765,
    "s": 56.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.76818,
    "c": 0.15184,
    "h": 111.2
  },
  "luminance": 0.46405
}

Semantic roles & 50–950 ramp

primary
#B8BC34
secondary
#8583C9
accent
#48E04C
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B8BC34

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

Preview Lab → · Contrast checker → · Palette generator →

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