#B2C937#B2C937

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

Color values

HEX#B2C937
RGBrgb(178, 201, 55)
HSLhsl(69, 57%, 50%)
HSVhsv(69, 73%, 79%)
CMYKcmyk(11.4%, 0%, 72.6%, 21.2%)
CIE-LABlab(76.99, -26.32, 65.92)
CIE-LCHlch(76.99, 70.98, 111.77°)
OKLaboklab(79.26% -0.0786 0.1462)
OKLCHoklch(79.26% 0.166 118.3)
XYZxyz(39.9372, 51.5145, 11.4531)
Luminance0.5151 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C937 #4E37C9
analogous
#C99737 #B2C937 #69C937
triadic
#B2C937 #37B2C9 #C937B2
tetradic
#B2C937 #37C997 #4E37C9 #C93769
square
#B2C937 #37C997 #4E37C9 #C93769
split-complementary
#B2C937 #3769C9 #9737C9
monochromatic
#5D691C #889929 #B2C937 #C5D667 #D7E397

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #b2c937;
/* rgb */ color: rgb(178, 201, 55);
/* oklch */ color: oklch(79.3% 0.166 118.3);
Tailwind
colors: {
  custom: {
    50: '#cdd978',
    500: '#b2c937',
    950: '#000000',
  },
}
SCSS
$custom: #b2c937;
$custom-light: #cdd978;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c937",
  "rgb": {
    "r": 178,
    "g": 201,
    "b": 55
  },
  "hsl": {
    "h": 69.452,
    "s": 57.48,
    "l": 50.196
  },
  "oklch": {
    "l": 0.79263,
    "c": 0.16598,
    "h": 118.3
  },
  "luminance": 0.51514
}

Semantic roles & 50–950 ramp

primary
#B2C937
secondary
#3B3173
accent
#47E15F
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#14140A
muted
#83837D

Preview Lab

Preview with #B2C937

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

Preview Lab → · Contrast checker → · Palette generator →

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