#B2BA29#B2BA29

#B2BA29 is a light, vivid yellow. Relative luminance 0.447; OKLCH L 75.8% C 0.157 H 112.9°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#B2BA29
RGBrgb(178, 186, 41)
HSLhsl(63, 64%, 45%)
HSVhsv(63, 78%, 73%)
CMYKcmyk(4.3%, 0%, 78%, 27.1%)
CIE-LABlab(72.72, -19.59, 66.43)
CIE-LCHlch(72.72, 69.26, 106.43°)
OKLaboklab(75.81% -0.0611 0.1449)
OKLCHoklch(75.81% 0.157 112.9)
XYZxyz(36.3204, 44.7437, 8.8205)
Luminance0.4474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BA29 #3129BA
analogous
#BA7929 #B2BA29 #6ABA29
triadic
#B2BA29 #29B2BA #BA29B2
tetradic
#B2BA29 #29BA79 #3129BA #BA296A
square
#B2BA29 #29BA79 #3129BA #BA296A
split-complementary
#B2BA29 #296ABA #7929BA
monochromatic
#525613 #82881E #B2BA29 #CFD749 #DCE27B

Accessibility & contrast

On white

2.11
#B2BA29 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.95
#B2BA29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BA29
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BA29#FFFFFF#000000##000000
##B2BA291.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B100
Deuteranopia (green-blind)
#C9B436
Tritanopia (blue-blind)
#BEAE9F
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b2ba29;
/* rgb */ color: rgb(178, 186, 41);
/* oklch */ color: oklch(75.8% 0.157 112.9);
Tailwind
colors: {
  custom: {
    50: '#cdce70',
    500: '#b2ba29',
    950: '#000000',
  },
}
SCSS
$custom: #b2ba29;
$custom-light: #cdce70;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ba29",
  "rgb": {
    "r": 178,
    "g": 186,
    "b": 41
  },
  "hsl": {
    "h": 63.31,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.75814,
    "c": 0.15724,
    "h": 112.9
  },
  "luminance": 0.44743
}

Semantic roles & 50–950 ramp

primary
#B2BA29
secondary
#7975CA
accent
#41E74A
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B2BA29

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

Preview Lab → · Contrast checker → · Palette generator →

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