#B7BC34#B7BC34

#B7BC34 is a light, vivid yellow. Relative luminance 0.463; OKLCH L 76.7% C 0.152 H 111.6°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#B7BC34
RGBrgb(183, 188, 52)
HSLhsl(62, 57%, 47%)
HSVhsv(62, 72%, 74%)
CMYKcmyk(2.7%, 0%, 72.3%, 26.3%)
CIE-LABlab(73.73, -17.99, 63.95)
CIE-LCHlch(73.73, 66.43, 105.71°)
OKLaboklab(76.74% -0.056 0.1414)
OKLCHoklch(76.74% 0.152 111.6)
XYZxyz(38.1327, 46.2826, 10.1729)
Luminance0.4628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BC34 #3934BC
analogous
#BC7D34 #B7BC34 #73BC34
triadic
#B7BC34 #34B7BC #BC34B7
tetradic
#B7BC34 #34BC7D #3934BC #BC3473
square
#B7BC34 #34BC7D #3934BC #BC3473
split-complementary
#B7BC34 #3473BC #7D34BC
monochromatic
#5A5C19 #888C27 #B7BC34 #CDD25B #DCDF8B

Accessibility & contrast

On white

2.05
#B7BC34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.26
#B7BC34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BC34
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BC34#FFFFFF#000000##000000
##B7BC341.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB31A
Deuteranopia (green-blind)
#CBB73F
Tritanopia (blue-blind)
#C4B0A2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b7bc34;
/* rgb */ color: rgb(183, 188, 52);
/* oklch */ color: oklch(76.7% 0.152 111.6);
Tailwind
colors: {
  custom: {
    50: '#d0cf75',
    500: '#b7bc34',
    950: '#000000',
  },
}
SCSS
$custom: #b7bc34;
$custom-light: #d0cf75;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bc34",
  "rgb": {
    "r": 183,
    "g": 188,
    "b": 52
  },
  "hsl": {
    "h": 62.206,
    "s": 56.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.76735,
    "c": 0.15208,
    "h": 111.6
  },
  "luminance": 0.46282
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B7BC34

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

Preview Lab → · Contrast checker → · Palette generator →

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