#B4BC38#B4BC38

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

Color values

HEX#B4BC38
RGBrgb(180, 188, 56)
HSLhsl(64, 54%, 48%)
HSVhsv(64, 70%, 74%)
CMYKcmyk(4.3%, 0%, 70.2%, 26.3%)
CIE-LABlab(73.52, -19.06, 62.23)
CIE-LCHlch(73.52, 65.09, 107.03°)
OKLaboklab(76.52% -0.0584 0.1386)
OKLCHoklch(76.52% 0.15 112.9)
XYZxyz(37.5205, 45.9561, 10.6345)
Luminance0.4596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BC38 #4038BC
analogous
#BC8238 #B4BC38 #72BC38
triadic
#B4BC38 #38B4BC #BC38B4
tetradic
#B4BC38 #38BC82 #4038BC #BC3872
square
#B4BC38 #38BC82 #4038BC #BC3872
split-complementary
#B4BC38 #3872BC #8238BC
monochromatic
#5A5E1C #878D2A #B4BC38 #C9D061 #D9DE90

Accessibility & contrast

On white

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

On black

10.19
#B4BC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4BC38
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4BC38#FFFFFF#000000##000000
##B4BC381.002.0610.1910.19
#FFFFFF2.061.0021.0021.00
#00000010.1921.001.001.00
##00000010.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB322
Deuteranopia (green-blind)
#CAB642
Tritanopia (blue-blind)
#C0B1A2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b4bc38;
/* rgb */ color: rgb(180, 188, 56);
/* oklch */ color: oklch(76.5% 0.150 112.9);
Tailwind
colors: {
  custom: {
    50: '#ced077',
    500: '#b4bc38',
    950: '#000000',
  },
}
SCSS
$custom: #b4bc38;
$custom-light: #ced077;
$custom-dark: #000000;
JSON
{
  "hex": "#b4bc38",
  "rgb": {
    "r": 180,
    "g": 188,
    "b": 56
  },
  "hsl": {
    "h": 63.636,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.76515,
    "c": 0.15037,
    "h": 112.9
  },
  "luminance": 0.45955
}

Semantic roles & 50–950 ramp

primary
#B4BC38
secondary
#8B87C9
accent
#4ADD53
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B4BC38

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

Preview Lab → · Contrast checker → · Palette generator →

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