#B4C932#B4C932

#B4C932 is a light, vivid yellow. Relative luminance 0.517; OKLCH L 79.4% C 0.168 H 117.5°. Best body text is #000000 at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#B4C932
RGBrgb(180, 201, 50)
HSLhsl(68, 60%, 49%)
HSVhsv(68, 75%, 79%)
CMYKcmyk(10.4%, 0%, 75.1%, 21.2%)
CIE-LABlab(77.11, -25.73, 67.73)
CIE-LCHlch(77.11, 72.46, 110.80°)
OKLaboklab(79.38% -0.0775 0.1491)
OKLCHoklch(79.38% 0.168 117.5)
XYZxyz(40.2857, 51.7073, 10.8753)
Luminance0.5171 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C932 #4732C9
analogous
#C99232 #B4C932 #69C932
triadic
#B4C932 #32B4C9 #C932B4
tetradic
#B4C932 #32C992 #4732C9 #C93269
square
#B4C932 #32C992 #4732C9 #C93269
split-complementary
#B4C932 #3269C9 #9232C9
monochromatic
#5C671A #889826 #B4C932 #C7D861 #D8E492

Accessibility & contrast

On white

1.85
#B4C932 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.34
#B4C932 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C932
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C932#FFFFFF#000000##000000
##B4C9321.001.8511.3411.34
#FFFFFF1.851.0021.0021.00
#00000011.3421.001.001.00
##00000011.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE0C
Deuteranopia (green-blind)
#D5BF40
Tritanopia (blue-blind)
#BFBEAD
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b4c932;
/* rgb */ color: rgb(180, 201, 50);
/* oklch */ color: oklch(79.4% 0.168 117.5);
Tailwind
colors: {
  custom: {
    50: '#ced976',
    500: '#b4c932',
    950: '#000000',
  },
}
SCSS
$custom: #b4c932;
$custom-light: #ced976;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c932",
  "rgb": {
    "r": 180,
    "g": 201,
    "b": 50
  },
  "hsl": {
    "h": 68.344,
    "s": 60.159,
    "l": 49.216
  },
  "oklch": {
    "l": 0.79384,
    "c": 0.16806,
    "h": 117.5
  },
  "luminance": 0.51707
}

Semantic roles & 50–950 ramp

primary
#B4C932
secondary
#372E71
accent
#44E35B
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B4C932

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

Preview Lab → · Contrast checker → · Palette generator →

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