#B2C529#B2C529

#B2C529 is a light, vivid yellow. Relative luminance 0.496; OKLCH L 78.3% C 0.169 H 116.8°. Best body text is #000000 at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#B2C529
RGBrgb(178, 197, 41)
HSLhsl(67, 66%, 47%)
HSVhsv(67, 79%, 77%)
CMYKcmyk(9.6%, 0%, 79.2%, 22.7%)
CIE-LABlab(75.80, -25.00, 69.18)
CIE-LCHlch(75.80, 73.56, 109.87°)
OKLaboklab(78.28% -0.0761 0.1508)
OKLCHoklch(78.28% 0.169 116.8)
XYZxyz(38.7276, 49.5581, 9.6229)
Luminance0.4956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C529 #3C29C5
analogous
#C58A29 #B2C529 #64C529
triadic
#B2C529 #29B2C5 #C529B2
tetradic
#B2C529 #29C58A #3C29C5 #C52964
square
#B2C529 #29C58A #3C29C5 #C52964
split-complementary
#B2C529 #2964C5 #8A29C5
monochromatic
#566014 #84921E #B2C529 #CADB51 #D9E583

Accessibility & contrast

On white

1.92
#B2C529 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.91
#B2C529 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C529
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C529#FFFFFF#000000##000000
##B2C5291.001.9210.9110.91
#FFFFFF1.921.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BA00
Deuteranopia (green-blind)
#D1BC38
Tritanopia (blue-blind)
#BEB9A9
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #b2c529;
/* rgb */ color: rgb(178, 197, 41);
/* oklch */ color: oklch(78.3% 0.169 116.8);
Tailwind
colors: {
  custom: {
    50: '#cdd671',
    500: '#b2c529',
    950: '#000000',
  },
}
SCSS
$custom: #b2c529;
$custom-light: #cdd671;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c529",
  "rgb": {
    "r": 178,
    "g": 197,
    "b": 41
  },
  "hsl": {
    "h": 67.308,
    "s": 65.546,
    "l": 46.667
  },
  "oklch": {
    "l": 0.78282,
    "c": 0.16885,
    "h": 116.8
  },
  "luminance": 0.49558
}

Semantic roles & 50–950 ramp

primary
#B2C529
secondary
#867CCE
accent
#3FE854
background
#FDFDF7
surface
#FAFAED
border
#D3D3C8
text
#141409
muted
#83837B

Preview Lab

Preview with #B2C529

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

Preview Lab → · Contrast checker → · Palette generator →

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