#B4BC42#B4BC42

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

Color values

HEX#B4BC42
RGBrgb(180, 188, 66)
HSLhsl(64, 48%, 50%)
HSVhsv(64, 65%, 74%)
CMYKcmyk(4.3%, 0%, 64.9%, 26.3%)
CIE-LABlab(73.59, -18.49, 58.43)
CIE-LCHlch(73.59, 61.28, 107.56°)
OKLaboklab(76.59% -0.0559 0.1321)
OKLCHoklch(76.59% 0.143 112.9)
XYZxyz(37.7900, 46.0639, 12.0537)
Luminance0.4606 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BC42 #4A42BC
analogous
#BC8742 #B4BC42 #77BC42
triadic
#B4BC42 #42B4BC #BC42B4
tetradic
#B4BC42 #42BC87 #4A42BC #BC4277
square
#B4BC42 #42BC87 #4A42BC #BC4277
split-complementary
#B4BC42 #4277BC #8742BC
monochromatic
#5D6122 #898F32 #B4BC42 #C6CC6F #D8DC9C

Accessibility & contrast

On white

2.06
#B4BC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.21
#B4BC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4BC42
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4BC42#FFFFFF#000000##000000
##B4BC421.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB332
Deuteranopia (green-blind)
#CAB64A
Tritanopia (blue-blind)
#C0B1A3
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b4bc42;
/* rgb */ color: rgb(180, 188, 66);
/* oklch */ color: oklch(76.6% 0.143 112.9);
Tailwind
colors: {
  custom: {
    50: '#cdd07d',
    500: '#b4bc42',
    950: '#000000',
  },
}
SCSS
$custom: #b4bc42;
$custom-light: #cdd07d;
$custom-dark: #000000;
JSON
{
  "hex": "#b4bc42",
  "rgb": {
    "r": 180,
    "g": 188,
    "b": 66
  },
  "hsl": {
    "h": 63.934,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.76593,
    "c": 0.14346,
    "h": 112.9
  },
  "luminance": 0.46063
}

Semantic roles & 50–950 ramp

primary
#B4BC42
secondary
#9591C9
accent
#50D859
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B4BC42

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

Preview Lab → · Contrast checker → · Palette generator →

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