#B8BC21#B8BC21

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

Color values

HEX#B8BC21
RGBrgb(184, 188, 33)
HSLhsl(62, 70%, 43%)
HSVhsv(62, 82%, 74%)
CMYKcmyk(2.1%, 0%, 82.4%, 26.3%)
CIE-LABlab(73.72, -18.29, 69.66)
CIE-LCHlch(73.72, 72.02, 104.71°)
OKLaboklab(76.72% -0.0584 0.1502)
OKLCHoklch(76.72% 0.161 111.3)
XYZxyz(38.0263, 46.2676, 8.3660)
Luminance0.4627 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BC21 #2521BC
analogous
#BC7221 #B8BC21 #6BBC21
triadic
#B8BC21 #21B8BC #BC21B8
tetradic
#B8BC21 #21BC72 #2521BC #BC216B
square
#B8BC21 #21BC72 #2521BC #BC216B
split-complementary
#B8BC21 #216BBC #7221BC
monochromatic
#52540F #858818 #B8BC21 #D9DD3D #E3E671

Accessibility & contrast

On white

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

On black

10.25
#B8BC21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8BC21
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8BC21#FFFFFF#000000##000000
##B8BC211.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8bc21;
/* rgb */ color: rgb(184, 188, 33);
/* oklch */ color: oklch(76.7% 0.161 111.3);
Tailwind
colors: {
  custom: {
    50: '#d1cf6d',
    500: '#b8bc21',
    950: '#000000',
  },
}
SCSS
$custom: #b8bc21;
$custom-light: #d1cf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#b8bc21",
  "rgb": {
    "r": 184,
    "g": 188,
    "b": 33
  },
  "hsl": {
    "h": 61.548,
    "s": 70.136,
    "l": 43.333
  },
  "oklch": {
    "l": 0.76718,
    "c": 0.16112,
    "h": 111.3
  },
  "luminance": 0.46267
}

Semantic roles & 50–950 ramp

primary
#B8BC21
secondary
#6E6CCD
accent
#3BED3F
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B8BC21

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

Preview Lab → · Contrast checker → · Palette generator →

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