#B2C029#B2C029

#B2C029 is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.2% C 0.164 H 115.1°. Best body text is #000000 at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#B2C029
RGBrgb(178, 192, 41)
HSLhsl(66, 65%, 46%)
HSVhsv(66, 79%, 75%)
CMYKcmyk(7.3%, 0%, 78.6%, 24.7%)
CIE-LABlab(74.40, -22.56, 67.93)
CIE-LCHlch(74.40, 71.58, 108.37°)
OKLaboklab(77.16% -0.0693 0.1481)
OKLCHoklch(77.16% 0.164 115.1)
XYZxyz(37.6111, 47.3250, 9.2507)
Luminance0.4732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C029 #3729C0
analogous
#C08229 #B2C029 #66C029
triadic
#B2C029 #29B2C0 #C029B2
tetradic
#B2C029 #29C082 #3729C0 #C02966
square
#B2C029 #29C082 #3729C0 #C02966
split-complementary
#B2C029 #2966C0 #8229C0
monochromatic
#545B13 #838E1E #B2C029 #CCD94D #DBE480

Accessibility & contrast

On white

2.01
#B2C029 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.46
#B2C029 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C029
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C029#FFFFFF#000000##000000
##B2C0291.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB600
Deuteranopia (green-blind)
#CDB837
Tritanopia (blue-blind)
#BEB4A4
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b2c029;
/* rgb */ color: rgb(178, 192, 41);
/* oklch */ color: oklch(77.2% 0.164 115.1);
Tailwind
colors: {
  custom: {
    50: '#cdd271',
    500: '#b2c029',
    950: '#000000',
  },
}
SCSS
$custom: #b2c029;
$custom-light: #cdd271;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c029",
  "rgb": {
    "r": 178,
    "g": 192,
    "b": 41
  },
  "hsl": {
    "h": 65.563,
    "s": 64.807,
    "l": 45.686
  },
  "oklch": {
    "l": 0.77157,
    "c": 0.16351,
    "h": 115.1
  },
  "luminance": 0.47324
}

Semantic roles & 50–950 ramp

primary
#B2C029
secondary
#8078CC
accent
#40E850
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B

Preview Lab

Preview with #B2C029

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

Preview Lab → · Contrast checker → · Palette generator →

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