#B7BC1D#B7BC1D

#B7BC1D is a light, vivid yellow. Relative luminance 0.461; OKLCH L 76.6% C 0.163 H 111.7°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#B7BC1D
RGBrgb(183, 188, 29)
HSLhsl(62, 73%, 43%)
HSVhsv(62, 85%, 74%)
CMYKcmyk(2.7%, 0%, 84.6%, 26.3%)
CIE-LABlab(73.63, -18.83, 70.49)
CIE-LCHlch(73.63, 72.96, 104.96°)
OKLaboklab(76.62% -0.0601 0.1513)
OKLCHoklch(76.62% 0.163 111.7)
XYZxyz(37.7348, 46.1234, 8.0771)
Luminance0.4612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BC1D #221DBC
analogous
#BC721D #B7BC1D #67BC1D
triadic
#B7BC1D #1DB7BC #BC1DB7
tetradic
#B7BC1D #1DBC72 #221DBC #BC1D67
square
#B7BC1D #1DBC72 #221DBC #BC1D67
split-complementary
#B7BC1D #1D67BC #721DBC
monochromatic
#50520D #838715 #B7BC1D #DBE036 #E4E86B

Accessibility & contrast

On white

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

On black

10.22
#B7BC1D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BC1D
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BC1D#FFFFFF#000000##000000
##B7BC1D1.002.0510.2210.22
#FFFFFF2.051.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7bc1d;
/* rgb */ color: rgb(183, 188, 29);
/* oklch */ color: oklch(76.6% 0.163 111.7);
Tailwind
colors: {
  custom: {
    50: '#d1cf6c',
    500: '#b7bc1d',
    950: '#000000',
  },
}
SCSS
$custom: #b7bc1d;
$custom-light: #d1cf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bc1d",
  "rgb": {
    "r": 183,
    "g": 188,
    "b": 29
  },
  "hsl": {
    "h": 61.887,
    "s": 73.272,
    "l": 42.549
  },
  "oklch": {
    "l": 0.76619,
    "c": 0.16284,
    "h": 111.7
  },
  "luminance": 0.46122
}

Semantic roles & 50–950 ramp

primary
#B7BC1D
secondary
#6A67CE
accent
#38F03E
background
#FDFCF6
surface
#FAF9EC
border
#D3D2C7
text
#151308
muted
#83827A

Preview Lab

Preview with #B7BC1D

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

Preview Lab → · Contrast checker → · Palette generator →

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