#B2C932#B2C932

#B2C932 is a light, vivid yellow. Relative luminance 0.515; OKLCH L 79.2% C 0.169 H 118.2°. Best body text is #000000 at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#B2C932
RGBrgb(178, 201, 50)
HSLhsl(69, 60%, 49%)
HSVhsv(69, 75%, 79%)
CMYKcmyk(11.4%, 0%, 75.1%, 21.2%)
CIE-LABlab(76.96, -26.56, 67.55)
CIE-LCHlch(76.96, 72.58, 111.46°)
OKLaboklab(79.23% -0.0797 0.1488)
OKLCHoklch(79.23% 0.169 118.2)
XYZxyz(39.8234, 51.4689, 10.8536)
Luminance0.5147 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C932 #4932C9
analogous
#C99532 #B2C932 #67C932
triadic
#B2C932 #32B2C9 #C932B2
tetradic
#B2C932 #32C995 #4932C9 #C93267
square
#B2C932 #32C995 #4932C9 #C93267
split-complementary
#B2C932 #3267C9 #9532C9
monochromatic
#5B671A #879826 #B2C932 #C5D861 #D7E492

Accessibility & contrast

On white

1.86
#B2C932 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.29
#B2C932 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C932
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C932#FFFFFF#000000##000000
##B2C9321.001.8611.2911.29
#FFFFFF1.861.0021.0021.00
#00000011.2921.001.001.00
##00000011.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2c932;
/* rgb */ color: rgb(178, 201, 50);
/* oklch */ color: oklch(79.2% 0.169 118.2);
Tailwind
colors: {
  custom: {
    50: '#cdd976',
    500: '#b2c932',
    950: '#000000',
  },
}
SCSS
$custom: #b2c932;
$custom-light: #cdd976;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c932",
  "rgb": {
    "r": 178,
    "g": 201,
    "b": 50
  },
  "hsl": {
    "h": 69.139,
    "s": 60.159,
    "l": 49.216
  },
  "oklch": {
    "l": 0.79232,
    "c": 0.16878,
    "h": 118.2
  },
  "luminance": 0.51469
}

Semantic roles & 50–950 ramp

primary
#B2C932
secondary
#382E71
accent
#44E35D
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B2C932

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

Preview Lab → · Contrast checker → · Palette generator →

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