#B2C933#B2C933

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

Color values

HEX#B2C933
RGBrgb(178, 201, 51)
HSLhsl(69, 60%, 49%)
HSVhsv(69, 75%, 79%)
CMYKcmyk(11.4%, 0%, 74.6%, 21.2%)
CIE-LABlab(76.97, -26.51, 67.23)
CIE-LCHlch(76.97, 72.27, 111.52°)
OKLaboklab(79.24% -0.0795 0.1483)
OKLCHoklch(79.24% 0.168 118.2)
XYZxyz(39.8452, 51.4777, 10.9685)
Luminance0.5148 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C933 #4A33C9
analogous
#C99533 #B2C933 #67C933
triadic
#B2C933 #33B2C9 #C933B2
tetradic
#B2C933 #33C995 #4A33C9 #C93367
square
#B2C933 #33C995 #4A33C9 #C93367
split-complementary
#B2C933 #3367C9 #9533C9
monochromatic
#5C671A #879827 #B2C933 #C5D762 #D7E493

Accessibility & contrast

On white

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

On black

11.30
#B2C933 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C933
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C933#FFFFFF#000000##000000
##B2C9331.001.8611.3011.30
#FFFFFF1.861.0021.0021.00
#00000011.3021.001.001.00
##00000011.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2c933;
/* rgb */ color: rgb(178, 201, 51);
/* oklch */ color: oklch(79.2% 0.168 118.2);
Tailwind
colors: {
  custom: {
    50: '#cdd976',
    500: '#b2c933',
    950: '#000000',
  },
}
SCSS
$custom: #b2c933;
$custom-light: #cdd976;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c933",
  "rgb": {
    "r": 178,
    "g": 201,
    "b": 51
  },
  "hsl": {
    "h": 69.2,
    "s": 59.524,
    "l": 49.412
  },
  "oklch": {
    "l": 0.79238,
    "c": 0.16824,
    "h": 118.2
  },
  "luminance": 0.51477
}

Semantic roles & 50–950 ramp

primary
#B2C933
secondary
#392F71
accent
#45E35D
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B2C933

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

Preview Lab → · Contrast checker → · Palette generator →

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