#B8BC42#B8BC42

#B8BC42 is a light, vivid yellow. Relative luminance 0.466; OKLCH L 76.9% C 0.143 H 111.1°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#B8BC42
RGBrgb(184, 188, 66)
HSLhsl(62, 48%, 50%)
HSVhsv(62, 65%, 74%)
CMYKcmyk(2.1%, 0%, 64.9%, 26.3%)
CIE-LABlab(73.90, -16.81, 58.85)
CIE-LCHlch(73.90, 61.21, 105.94°)
OKLaboklab(76.92% -0.0514 0.1329)
OKLCHoklch(76.92% 0.143 111.1)
XYZxyz(38.7349, 46.5511, 12.0980)
Luminance0.4655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BC42 #4642BC
analogous
#BC8342 #B8BC42 #7BBC42
triadic
#B8BC42 #42B8BC #BC42B8
tetradic
#B8BC42 #42BC83 #4642BC #BC427B
square
#B8BC42 #42BC83 #4642BC #BC427B
split-complementary
#B8BC42 #427BBC #8342BC
monochromatic
#5F6122 #8C8F32 #B8BC42 #C9CC6F #DADC9C

Accessibility & contrast

On white

2.04
#B8BC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.31
#B8BC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8BC42
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8BC42#FFFFFF#000000##000000
##B8BC421.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB431
Deuteranopia (green-blind)
#CBB74A
Tritanopia (blue-blind)
#C4B1A3
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b8bc42;
/* rgb */ color: rgb(184, 188, 66);
/* oklch */ color: oklch(76.9% 0.143 111.1);
Tailwind
colors: {
  custom: {
    50: '#d0d07d',
    500: '#b8bc42',
    950: '#000000',
  },
}
SCSS
$custom: #b8bc42;
$custom-light: #d0d07d;
$custom-dark: #000000;
JSON
{
  "hex": "#b8bc42",
  "rgb": {
    "r": 184,
    "g": 188,
    "b": 66
  },
  "hsl": {
    "h": 61.967,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.76923,
    "c": 0.14251,
    "h": 111.1
  },
  "luminance": 0.4655
}

Semantic roles & 50–950 ramp

primary
#B8BC42
secondary
#9391C9
accent
#50D855
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B8BC42

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

Preview Lab → · Contrast checker → · Palette generator →

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