#B8BC2B#B8BC2B

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

Color values

HEX#B8BC2B
RGBrgb(184, 188, 43)
HSLhsl(62, 63%, 45%)
HSVhsv(62, 77%, 74%)
CMYKcmyk(2.1%, 0%, 77.1%, 26.3%)
CIE-LABlab(73.76, -17.95, 66.95)
CIE-LCHlch(73.76, 69.31, 105.01°)
OKLaboklab(76.77% -0.0567 0.1461)
OKLCHoklch(76.77% 0.157 111.2)
XYZxyz(38.1878, 46.3322, 9.2164)
Luminance0.4633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BC2B #2F2BBC
analogous
#BC772B #B8BC2B #70BC2B
triadic
#B8BC2B #2BB8BC #BC2BB8
tetradic
#B8BC2B #2BBC77 #2F2BBC #BC2B70
square
#B8BC2B #2BBC77 #2F2BBC #BC2B70
split-complementary
#B8BC2B #2B70BC #772BBC
monochromatic
#575814 #878A20 #B8BC2B #D3D64E #DFE280

Accessibility & contrast

On white

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

On black

10.27
#B8BC2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8BC2B
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8BC2B#FFFFFF#000000##000000
##B8BC2B1.002.0510.2710.27
#FFFFFF2.051.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8bc2b;
/* rgb */ color: rgb(184, 188, 43);
/* oklch */ color: oklch(76.8% 0.157 111.2);
Tailwind
colors: {
  custom: {
    50: '#d1cf71',
    500: '#b8bc2b',
    950: '#000000',
  },
}
SCSS
$custom: #b8bc2b;
$custom-light: #d1cf71;
$custom-dark: #000000;
JSON
{
  "hex": "#b8bc2b",
  "rgb": {
    "r": 184,
    "g": 188,
    "b": 43
  },
  "hsl": {
    "h": 61.655,
    "s": 62.771,
    "l": 45.294
  },
  "oklch": {
    "l": 0.76765,
    "c": 0.15672,
    "h": 111.2
  },
  "luminance": 0.46331
}

Semantic roles & 50–950 ramp

primary
#B8BC2B
secondary
#7B78CB
accent
#42E646
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B8BC2B

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

Preview Lab → · Contrast checker → · Palette generator →

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