#B4BC1C#B4BC1C

#B4BC1C is a light, vivid yellow. Relative luminance 0.458; OKLCH L 76.4% C 0.164 H 112.8°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#B4BC1C
RGBrgb(180, 188, 28)
HSLhsl(63, 74%, 42%)
HSVhsv(63, 85%, 74%)
CMYKcmyk(4.3%, 0%, 85.1%, 26.3%)
CIE-LABlab(73.39, -20.15, 70.42)
CIE-LCHlch(73.39, 73.24, 105.97°)
OKLaboklab(76.37% -0.0636 0.1512)
OKLCHoklch(76.37% 0.164 112.8)
XYZxyz(37.0165, 45.7545, 7.9799)
Luminance0.4575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BC1C #241CBC
analogous
#BC741C #B4BC1C #64BC1C
triadic
#B4BC1C #1CB4BC #BC1CB4
tetradic
#B4BC1C #1CBC74 #241CBC #BC1C64
square
#B4BC1C #1CBC74 #241CBC #BC1C64
split-complementary
#B4BC1C #1C64BC #741CBC
monochromatic
#4E510C #818714 #B4BC1C #D8E134 #E2E96A

Accessibility & contrast

On white

2.07
#B4BC1C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.15
#B4BC1C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4BC1C
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4BC1C#FFFFFF#000000##000000
##B4BC1C1.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB300
Deuteranopia (green-blind)
#CBB62E
Tritanopia (blue-blind)
#C1B0A0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b4bc1c;
/* rgb */ color: rgb(180, 188, 28);
/* oklch */ color: oklch(76.4% 0.164 112.8);
Tailwind
colors: {
  custom: {
    50: '#cfcf6b',
    500: '#b4bc1c',
    950: '#000000',
  },
}
SCSS
$custom: #b4bc1c;
$custom-light: #cfcf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#b4bc1c",
  "rgb": {
    "r": 180,
    "g": 188,
    "b": 28
  },
  "hsl": {
    "h": 63,
    "s": 74.074,
    "l": 42.353
  },
  "oklch": {
    "l": 0.76368,
    "c": 0.164,
    "h": 112.8
  },
  "luminance": 0.45754
}

Semantic roles & 50–950 ramp

primary
#B4BC1C
secondary
#6B65CE
accent
#37F140
background
#FDFCF6
surface
#FAF9EC
border
#D3D2C7
text
#141308
muted
#83827A

Preview Lab

Preview with #B4BC1C

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

Preview Lab → · Contrast checker → · Palette generator →

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