#B2CB34#B2CB34

#B2CB34 is a light, vivid yellow. Relative luminance 0.524; OKLCH L 79.7% C 0.170 H 118.8°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#B2CB34
RGBrgb(178, 203, 52)
HSLhsl(70, 59%, 50%)
HSVhsv(70, 74%, 80%)
CMYKcmyk(12.3%, 0%, 74.4%, 20.4%)
CIE-LABlab(77.53, -27.42, 67.44)
CIE-LCHlch(77.53, 72.80, 112.13°)
OKLaboklab(79.7% -0.0819 0.1489)
OKLCHoklch(79.7% 0.17 118.8)
XYZxyz(40.3367, 52.4251, 11.2422)
Luminance0.5242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2CB34 #4D34CB
analogous
#CB9934 #B2CB34 #66CB34
triadic
#B2CB34 #34B2CB #CB34B2
tetradic
#B2CB34 #34CB99 #4D34CB #CB3466
square
#B2CB34 #34CB99 #4D34CB #CB3466
split-complementary
#B2CB34 #3466CB #9934CB
monochromatic
#5D6A1B #879A28 #B2CB34 #C4D765 #D7E495

Accessibility & contrast

On white

1.83
#B2CB34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.49
#B2CB34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2CB34
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2CB34#FFFFFF#000000##000000
##B2CB341.001.8311.4911.49
#FFFFFF1.831.0021.0021.00
#00000011.4921.001.001.00
##00000011.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF11
Deuteranopia (green-blind)
#D6C041
Tritanopia (blue-blind)
#BDC0AE
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #b2cb34;
/* rgb */ color: rgb(178, 203, 52);
/* oklch */ color: oklch(79.7% 0.170 118.8);
Tailwind
colors: {
  custom: {
    50: '#cdda77',
    500: '#b2cb34',
    950: '#000000',
  },
}
SCSS
$custom: #b2cb34;
$custom-light: #cdda77;
$custom-dark: #000000;
JSON
{
  "hex": "#b2cb34",
  "rgb": {
    "r": 178,
    "g": 203,
    "b": 52
  },
  "hsl": {
    "h": 69.934,
    "s": 59.216,
    "l": 50
  },
  "oklch": {
    "l": 0.79696,
    "c": 0.16994,
    "h": 118.8
  },
  "luminance": 0.52425
}

Semantic roles & 50–950 ramp

primary
#B2CB34
secondary
#3B3073
accent
#45E25F
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B2CB34

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

Preview Lab → · Contrast checker → · Palette generator →

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