#B2C934#B2C934

#B2C934 is a light, vivid yellow. Relative luminance 0.515; OKLCH L 79.2% C 0.168 H 118.2°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#B2C934
RGBrgb(178, 201, 52)
HSLhsl(69, 59%, 50%)
HSVhsv(69, 74%, 79%)
CMYKcmyk(11.4%, 0%, 74.1%, 21.2%)
CIE-LABlab(76.97, -26.46, 66.91)
CIE-LCHlch(76.97, 71.95, 111.58°)
OKLaboklab(79.24% -0.0792 0.1478)
OKLCHoklch(79.24% 0.168 118.2)
XYZxyz(39.8675, 51.4866, 11.0858)
Luminance0.5149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C934 #4B34C9
analogous
#C99634 #B2C934 #67C934
triadic
#B2C934 #34B2C9 #C934B2
tetradic
#B2C934 #34C996 #4B34C9 #C93467
square
#B2C934 #34C996 #4B34C9 #C93467
split-complementary
#B2C934 #3467C9 #9634C9
monochromatic
#5C681B #879827 #B2C934 #C5D763 #D7E394

Accessibility & contrast

On white

1.86
#B2C934 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.30
#B2C934 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C934
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C934#FFFFFF#000000##000000
##B2C9341.001.8611.3011.30
#FFFFFF1.861.0021.0021.00
#00000011.3021.001.001.00
##00000011.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE13
Deuteranopia (green-blind)
#D4BF41
Tritanopia (blue-blind)
#BDBEAD
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b2c934;
/* rgb */ color: rgb(178, 201, 52);
/* oklch */ color: oklch(79.2% 0.168 118.2);
Tailwind
colors: {
  custom: {
    50: '#cdd977',
    500: '#b2c934',
    950: '#000000',
  },
}
SCSS
$custom: #b2c934;
$custom-light: #cdd977;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c934",
  "rgb": {
    "r": 178,
    "g": 201,
    "b": 52
  },
  "hsl": {
    "h": 69.262,
    "s": 58.893,
    "l": 49.608
  },
  "oklch": {
    "l": 0.79244,
    "c": 0.16769,
    "h": 118.2
  },
  "luminance": 0.51486
}

Semantic roles & 50–950 ramp

primary
#B2C934
secondary
#3A2F72
accent
#46E25E
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B2C934

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

Preview Lab → · Contrast checker → · Palette generator →

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