#B2C629#B2C629

#B2C629 is a light, vivid yellow. Relative luminance 0.500; OKLCH L 78.5% C 0.170 H 117.1°. Best body text is #000000 at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#B2C629
RGBrgb(178, 198, 41)
HSLhsl(68, 66%, 47%)
HSVhsv(68, 79%, 78%)
CMYKcmyk(10.1%, 0%, 79.3%, 22.4%)
CIE-LABlab(76.08, -25.48, 69.43)
CIE-LCHlch(76.08, 73.96, 110.15°)
OKLaboklab(78.51% -0.0774 0.1513)
OKLCHoklch(78.51% 0.17 117.1)
XYZxyz(38.9554, 50.0137, 9.6989)
Luminance0.5001 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C629 #3D29C6
analogous
#C68B29 #B2C629 #64C629
triadic
#B2C629 #29B2C6 #C629B2
tetradic
#B2C629 #29C68B #3D29C6 #C62964
square
#B2C629 #29C68B #3D29C6 #C62964
split-complementary
#B2C629 #2964C6 #8B29C6
monochromatic
#576114 #84931F #B2C629 #C9DB51 #D9E684

Accessibility & contrast

On white

1.91
#B2C629 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.00
#B2C629 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C629
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C629#FFFFFF#000000##000000
##B2C6291.001.9111.0011.00
#FFFFFF1.911.0021.0021.00
#00000011.0021.001.001.00
##00000011.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BB00
Deuteranopia (green-blind)
#D2BC39
Tritanopia (blue-blind)
#BDBBA9
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b2c629;
/* rgb */ color: rgb(178, 198, 41);
/* oklch */ color: oklch(78.5% 0.170 117.1);
Tailwind
colors: {
  custom: {
    50: '#cdd771',
    500: '#b2c629',
    950: '#000000',
  },
}
SCSS
$custom: #b2c629;
$custom-light: #cdd771;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c629",
  "rgb": {
    "r": 178,
    "g": 198,
    "b": 41
  },
  "hsl": {
    "h": 67.643,
    "s": 65.69,
    "l": 46.863
  },
  "oklch": {
    "l": 0.78507,
    "c": 0.16992,
    "h": 117.1
  },
  "luminance": 0.50013
}

Semantic roles & 50–950 ramp

primary
#B2C629
secondary
#30286B
accent
#3FE955
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B2C629

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

Preview Lab → · Contrast checker → · Palette generator →

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