#B2C936#B2C936

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

Color values

HEX#B2C936
RGBrgb(178, 201, 54)
HSLhsl(69, 58%, 50%)
HSVhsv(69, 73%, 79%)
CMYKcmyk(11.4%, 0%, 73.1%, 21.2%)
CIE-LABlab(76.98, -26.37, 66.25)
CIE-LCHlch(76.98, 71.31, 111.70°)
OKLaboklab(79.26% -0.0788 0.1467)
OKLCHoklch(79.26% 0.167 118.2)
XYZxyz(39.9135, 51.5050, 11.3281)
Luminance0.5151 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C936 #4D36C9
analogous
#C99736 #B2C936 #68C936
triadic
#B2C936 #36B2C9 #C936B2
tetradic
#B2C936 #36C997 #4D36C9 #C93668
square
#B2C936 #36C997 #4D36C9 #C93668
split-complementary
#B2C936 #3668C9 #9736C9
monochromatic
#5D691C #879929 #B2C936 #C4D666 #D7E396

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2C936#FFFFFF#000000##000000
##B2C9361.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)
#D6BE18
Deuteranopia (green-blind)
#D4BF43
Tritanopia (blue-blind)
#BDBEAD
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b2c936;
/* rgb */ color: rgb(178, 201, 54);
/* oklch */ color: oklch(79.3% 0.167 118.2);
Tailwind
colors: {
  custom: {
    50: '#cdd977',
    500: '#b2c936',
    950: '#000000',
  },
}
SCSS
$custom: #b2c936;
$custom-light: #cdd977;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c936",
  "rgb": {
    "r": 178,
    "g": 201,
    "b": 54
  },
  "hsl": {
    "h": 69.388,
    "s": 57.647,
    "l": 50
  },
  "oklch": {
    "l": 0.79257,
    "c": 0.16656,
    "h": 118.2
  },
  "luminance": 0.51505
}

Semantic roles & 50–950 ramp

primary
#B2C936
secondary
#3B3173
accent
#47E15F
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B2C936

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

Preview Lab → · Contrast checker → · Palette generator →

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