#B7BC26#B7BC26

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

Color values

HEX#B7BC26
RGBrgb(183, 188, 38)
HSLhsl(62, 66%, 44%)
HSVhsv(62, 80%, 74%)
CMYKcmyk(2.7%, 0%, 79.8%, 26.3%)
CIE-LABlab(73.66, -18.56, 68.27)
CIE-LCHlch(73.66, 70.75, 105.21°)
OKLaboklab(76.66% -0.0587 0.1481)
OKLCHoklch(76.66% 0.159 111.6)
XYZxyz(37.8629, 46.1747, 8.7514)
Luminance0.4617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BC26 #2B26BC
analogous
#BC7626 #B7BC26 #6CBC26
triadic
#B7BC26 #26B7BC #BC26B7
tetradic
#B7BC26 #26BC76 #2B26BC #BC266C
square
#B7BC26 #26BC76 #2B26BC #BC266C
split-complementary
#B7BC26 #266CBC #7626BC
monochromatic
#545611 #85891C #B7BC26 #D5DA46 #E0E479

Accessibility & contrast

On white

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

On black

10.23
#B7BC26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BC26
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BC26#FFFFFF#000000##000000
##B7BC261.002.0510.2310.23
#FFFFFF2.051.0021.0021.00
#00000010.2321.001.001.00
##00000010.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB300
Deuteranopia (green-blind)
#CCB734
Tritanopia (blue-blind)
#C4B0A1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b7bc26;
/* rgb */ color: rgb(183, 188, 38);
/* oklch */ color: oklch(76.7% 0.159 111.6);
Tailwind
colors: {
  custom: {
    50: '#d1cf6f',
    500: '#b7bc26',
    950: '#000000',
  },
}
SCSS
$custom: #b7bc26;
$custom-light: #d1cf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bc26",
  "rgb": {
    "r": 183,
    "g": 188,
    "b": 38
  },
  "hsl": {
    "h": 62,
    "s": 66.372,
    "l": 44.314
  },
  "oklch": {
    "l": 0.76657,
    "c": 0.15931,
    "h": 111.6
  },
  "luminance": 0.46174
}

Semantic roles & 50–950 ramp

primary
#B7BC26
secondary
#7572CC
accent
#3FE944
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B7BC26

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

Preview Lab → · Contrast checker → · Palette generator →

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