#B4BC40#B4BC40

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

Color values

HEX#B4BC40
RGBrgb(180, 188, 64)
HSLhsl(64, 49%, 49%)
HSVhsv(64, 66%, 74%)
CMYKcmyk(4.3%, 0%, 66%, 26.3%)
CIE-LABlab(73.57, -18.61, 59.22)
CIE-LCHlch(73.57, 62.08, 107.45°)
OKLaboklab(76.58% -0.0564 0.1335)
OKLCHoklch(76.58% 0.145 112.9)
XYZxyz(37.7321, 46.0407, 11.7486)
Luminance0.4604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BC40 #4840BC
analogous
#BC8640 #B4BC40 #76BC40
triadic
#B4BC40 #40B4BC #BC40B4
tetradic
#B4BC40 #40BC86 #4840BC #BC4076
square
#B4BC40 #40BC86 #4840BC #BC4076
split-complementary
#B4BC40 #4076BC #8640BC
monochromatic
#5D6121 #888E30 #B4BC40 #C7CD6C #D8DD9A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4BC40#FFFFFF#000000##000000
##B4BC401.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)
#CAB32F
Deuteranopia (green-blind)
#CAB649
Tritanopia (blue-blind)
#C0B1A3
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b4bc40;
/* rgb */ color: rgb(180, 188, 64);
/* oklch */ color: oklch(76.6% 0.145 112.9);
Tailwind
colors: {
  custom: {
    50: '#cdd07b',
    500: '#b4bc40',
    950: '#000000',
  },
}
SCSS
$custom: #b4bc40;
$custom-light: #cdd07b;
$custom-dark: #000000;
JSON
{
  "hex": "#b4bc40",
  "rgb": {
    "r": 180,
    "g": 188,
    "b": 64
  },
  "hsl": {
    "h": 63.871,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.76577,
    "c": 0.14492,
    "h": 112.9
  },
  "luminance": 0.4604
}

Semantic roles & 50–950 ramp

primary
#B4BC40
secondary
#938FC9
accent
#4FD958
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B4BC40

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

Preview Lab → · Contrast checker → · Palette generator →

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