#B2CA33#B2CA33

#B2CA33 is a light, vivid yellow. Relative luminance 0.519; OKLCH L 79.5% C 0.169 H 118.5°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#B2CA33
RGBrgb(178, 202, 51)
HSLhsl(70, 60%, 50%)
HSVhsv(70, 75%, 79%)
CMYKcmyk(11.9%, 0%, 74.8%, 20.8%)
CIE-LABlab(77.25, -26.99, 67.49)
CIE-LCHlch(77.25, 72.69, 111.80°)
OKLaboklab(79.46% -0.0808 0.1489)
OKLCHoklch(79.46% 0.169 118.5)
XYZxyz(40.0791, 51.9454, 11.0464)
Luminance0.5194 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2CA33 #4B33CA
analogous
#CA9633 #B2CA33 #67CA33
triadic
#B2CA33 #33B2CA #CA33B2
tetradic
#B2CA33 #33CA96 #4B33CA #CA3367
square
#B2CA33 #33CA96 #4B33CA #CA3367
split-complementary
#B2CA33 #3367CA #9633CA
monochromatic
#5C681A #879927 #B2CA33 #C5D863 #D7E494

Accessibility & contrast

On white

1.84
#B2CA33 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.39
#B2CA33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2CA33
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2CA33#FFFFFF#000000##000000
##B2CA331.001.8411.3911.39
#FFFFFF1.841.0021.0021.00
#00000011.3921.001.001.00
##00000011.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF0F
Deuteranopia (green-blind)
#D5BF41
Tritanopia (blue-blind)
#BDBFAD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b2ca33;
/* rgb */ color: rgb(178, 202, 51);
/* oklch */ color: oklch(79.5% 0.169 118.5);
Tailwind
colors: {
  custom: {
    50: '#cdda76',
    500: '#b2ca33',
    950: '#000000',
  },
}
SCSS
$custom: #b2ca33;
$custom-light: #cdda76;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ca33",
  "rgb": {
    "r": 178,
    "g": 202,
    "b": 51
  },
  "hsl": {
    "h": 69.536,
    "s": 59.684,
    "l": 49.608
  },
  "oklch": {
    "l": 0.79464,
    "c": 0.16936,
    "h": 118.5
  },
  "luminance": 0.51945
}

Semantic roles & 50–950 ramp

primary
#B2CA33
secondary
#3A2F72
accent
#45E35E
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B2CA33

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

Preview Lab → · Contrast checker → · Palette generator →

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