#B2C733#B2C733

#B2C733 is a light, vivid yellow. Relative luminance 0.506; OKLCH L 78.8% C 0.166 H 117.6°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#B2C733
RGBrgb(178, 199, 51)
HSLhsl(69, 59%, 49%)
HSVhsv(69, 74%, 78%)
CMYKcmyk(10.6%, 0%, 74.4%, 22%)
CIE-LABlab(76.41, -25.55, 66.70)
CIE-LCHlch(76.41, 71.43, 110.96°)
OKLaboklab(78.79% -0.0768 0.1472)
OKLCHoklch(78.79% 0.166 117.6)
XYZxyz(39.3820, 50.5513, 10.8141)
Luminance0.5055 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C733 #4833C7
analogous
#C79233 #B2C733 #68C733
triadic
#B2C733 #33B2C7 #C733B2
tetradic
#B2C733 #33C792 #4833C7 #C73368
square
#B2C733 #33C792 #4833C7 #C73368
split-complementary
#B2C733 #3368C7 #9233C7
monochromatic
#5B661A #869627 #B2C733 #C6D661 #D7E391

Accessibility & contrast

On white

1.89
#B2C733 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.11
#B2C733 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C733
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C733#FFFFFF#000000##000000
##B2C7331.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BC11
Deuteranopia (green-blind)
#D2BD40
Tritanopia (blue-blind)
#BDBCAB
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b2c733;
/* rgb */ color: rgb(178, 199, 51);
/* oklch */ color: oklch(78.8% 0.166 117.6);
Tailwind
colors: {
  custom: {
    50: '#cdd776',
    500: '#b2c733',
    950: '#000000',
  },
}
SCSS
$custom: #b2c733;
$custom-light: #cdd776;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c733",
  "rgb": {
    "r": 178,
    "g": 199,
    "b": 51
  },
  "hsl": {
    "h": 68.514,
    "s": 59.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.78787,
    "c": 0.16602,
    "h": 117.6
  },
  "luminance": 0.50551
}

Semantic roles & 50–950 ramp

primary
#B2C733
secondary
#382E70
accent
#45E25C
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B2C733

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

Preview Lab → · Contrast checker → · Palette generator →

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