#B8BC2C#B8BC2C

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

Color values

HEX#B8BC2C
RGBrgb(184, 188, 44)
HSLhsl(62, 62%, 45%)
HSVhsv(62, 77%, 74%)
CMYKcmyk(2.1%, 0%, 76.6%, 26.3%)
CIE-LABlab(73.77, -17.91, 66.64)
CIE-LCHlch(73.77, 69.01, 105.04°)
OKLaboklab(76.77% -0.0565 0.1456)
OKLCHoklch(76.77% 0.156 111.2)
XYZxyz(38.2064, 46.3397, 9.3142)
Luminance0.4634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BC2C #302CBC
analogous
#BC782C #B8BC2C #70BC2C
triadic
#B8BC2C #2CB8BC #BC2CB8
tetradic
#B8BC2C #2CBC78 #302CBC #BC2C70
square
#B8BC2C #2CBC78 #302CBC #BC2C70
split-complementary
#B8BC2C #2C70BC #782CBC
monochromatic
#575915 #878A20 #B8BC2C #D2D64F #DFE181

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8BC2C#FFFFFF#000000##000000
##B8BC2C1.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)
#CBB301
Deuteranopia (green-blind)
#CCB739
Tritanopia (blue-blind)
#C5B0A1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b8bc2c;
/* rgb */ color: rgb(184, 188, 44);
/* oklch */ color: oklch(76.8% 0.156 111.2);
Tailwind
colors: {
  custom: {
    50: '#d1cf71',
    500: '#b8bc2c',
    950: '#000000',
  },
}
SCSS
$custom: #b8bc2c;
$custom-light: #d1cf71;
$custom-dark: #000000;
JSON
{
  "hex": "#b8bc2c",
  "rgb": {
    "r": 184,
    "g": 188,
    "b": 44
  },
  "hsl": {
    "h": 61.667,
    "s": 62.069,
    "l": 45.49
  },
  "oklch": {
    "l": 0.7677,
    "c": 0.15623,
    "h": 111.2
  },
  "luminance": 0.46339
}

Semantic roles & 50–950 ramp

primary
#B8BC2C
secondary
#7C79CA
accent
#43E547
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B8BC2C

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

Preview Lab → · Contrast checker → · Palette generator →

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