#B4CC32#B4CC32

#B4CC32 is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.1% C 0.171 H 118.4°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#B4CC32
RGBrgb(180, 204, 50)
HSLhsl(69, 61%, 50%)
HSVhsv(69, 75%, 80%)
CMYKcmyk(11.8%, 0%, 75.5%, 20%)
CIE-LABlab(77.95, -27.17, 68.52)
CIE-LCHlch(77.95, 73.71, 111.63°)
OKLaboklab(80.06% -0.0815 0.1508)
OKLCHoklch(80.06% 0.171 118.4)
XYZxyz(40.9919, 53.1197, 11.1107)
Luminance0.5312 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4CC32 #4A32CC
analogous
#CC9732 #B4CC32 #67CC32
triadic
#B4CC32 #32B4CC #CC32B4
tetradic
#B4CC32 #32CC97 #4A32CC #CC3267
square
#B4CC32 #32CC97 #4A32CC #CC3267
split-complementary
#B4CC32 #3267CC #9732CC
monochromatic
#5D6A1A #899B26 #B4CC32 #C6D963 #D8E594

Accessibility & contrast

On white

1.81
#B4CC32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.62
#B4CC32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4CC32
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4CC32#FFFFFF#000000##000000
##B4CC321.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC109
Deuteranopia (green-blind)
#D7C140
Tritanopia (blue-blind)
#BFC1AF
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b4cc32;
/* rgb */ color: rgb(180, 204, 50);
/* oklch */ color: oklch(80.1% 0.171 118.4);
Tailwind
colors: {
  custom: {
    50: '#cedb76',
    500: '#b4cc32',
    950: '#000000',
  },
}
SCSS
$custom: #b4cc32;
$custom-light: #cedb76;
$custom-dark: #000000;
JSON
{
  "hex": "#b4cc32",
  "rgb": {
    "r": 180,
    "g": 204,
    "b": 50
  },
  "hsl": {
    "h": 69.351,
    "s": 60.63,
    "l": 49.804
  },
  "oklch": {
    "l": 0.80059,
    "c": 0.17139,
    "h": 118.4
  },
  "luminance": 0.53119
}

Semantic roles & 50–950 ramp

primary
#B4CC32
secondary
#392F74
accent
#44E45D
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141509
muted
#83847D

Preview Lab

Preview with #B4CC32

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

Preview Lab → · Contrast checker → · Palette generator →

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