#B2CA29#B2CA29

#B2CA29 is a light, vivid yellow. Relative luminance 0.519; OKLCH L 79.4% C 0.174 H 118.3°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#B2CA29
RGBrgb(178, 202, 41)
HSLhsl(69, 66%, 48%)
HSVhsv(69, 80%, 79%)
CMYKcmyk(11.9%, 0%, 79.7%, 20.8%)
CIE-LABlab(77.20, -27.40, 70.43)
CIE-LCHlch(77.20, 75.58, 111.26°)
OKLaboklab(79.41% -0.0827 0.1534)
OKLCHoklch(79.41% 0.174 118.3)
XYZxyz(39.8818, 51.8665, 10.0076)
Luminance0.5187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2CA29 #4129CA
analogous
#CA9129 #B2CA29 #62CA29
triadic
#B2CA29 #29B2CA #CA29B2
tetradic
#B2CA29 #29CA91 #4129CA #CA2962
square
#B2CA29 #29CA91 #4129CA #CA2962
split-complementary
#B2CA29 #2962CA #9129CA
monochromatic
#586414 #85971F #B2CA29 #C8DC54 #D8E787

Accessibility & contrast

On white

1.85
#B2CA29 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.37
#B2CA29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2CA29
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2CA29#FFFFFF#000000##000000
##B2CA291.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2ca29;
/* rgb */ color: rgb(178, 202, 41);
/* oklch */ color: oklch(79.4% 0.174 118.3);
Tailwind
colors: {
  custom: {
    50: '#cdda72',
    500: '#b2ca29',
    950: '#000000',
  },
}
SCSS
$custom: #b2ca29;
$custom-light: #cdda72;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ca29",
  "rgb": {
    "r": 178,
    "g": 202,
    "b": 41
  },
  "hsl": {
    "h": 68.944,
    "s": 66.255,
    "l": 47.647
  },
  "oklch": {
    "l": 0.79411,
    "c": 0.17426,
    "h": 118.3
  },
  "luminance": 0.51866
}

Semantic roles & 50–950 ramp

primary
#B2CA29
secondary
#33296F
accent
#3FE958
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B2CA29

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

Preview Lab → · Contrast checker → · Palette generator →

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