#B2C531#B2C531

#B2C531 is a light, vivid yellow. Relative luminance 0.496; OKLCH L 78.3% C 0.165 H 116.9°. Best body text is #000000 at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#B2C531
RGBrgb(178, 197, 49)
HSLhsl(68, 60%, 48%)
HSVhsv(68, 75%, 77%)
CMYKcmyk(9.6%, 0%, 75.1%, 22.7%)
CIE-LABlab(75.84, -24.67, 66.81)
CIE-LCHlch(75.84, 71.22, 110.27°)
OKLaboklab(78.32% -0.0745 0.1471)
OKLCHoklch(78.32% 0.165 116.9)
XYZxyz(38.8817, 49.6197, 10.4344)
Luminance0.4962 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C531 #4431C5
analogous
#C58E31 #B2C531 #68C531
triadic
#B2C531 #31B2C5 #C531B2
tetradic
#B2C531 #31C58E #4431C5 #C53168
square
#B2C531 #31C58E #4431C5 #C53168
split-complementary
#B2C531 #3168C5 #8E31C5
monochromatic
#596319 #869425 #B2C531 #C7D75D #D8E38E

Accessibility & contrast

On white

1.92
#B2C531 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.92
#B2C531 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C531
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C531#FFFFFF#000000##000000
##B2C5311.001.9210.9210.92
#FFFFFF1.921.0021.0021.00
#00000010.9221.001.001.00
##00000010.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BA0C
Deuteranopia (green-blind)
#D1BC3E
Tritanopia (blue-blind)
#BDBAA9
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #b2c531;
/* rgb */ color: rgb(178, 197, 49);
/* oklch */ color: oklch(78.3% 0.165 116.9);
Tailwind
colors: {
  custom: {
    50: '#cdd675',
    500: '#b2c531',
    950: '#000000',
  },
}
SCSS
$custom: #b2c531;
$custom-light: #cdd675;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c531",
  "rgb": {
    "r": 178,
    "g": 197,
    "b": 49
  },
  "hsl": {
    "h": 67.703,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.78324,
    "c": 0.16489,
    "h": 116.9
  },
  "luminance": 0.49619
}

Semantic roles & 50–950 ramp

primary
#B2C531
secondary
#8E85CD
accent
#44E359
background
#FDFDF7
surface
#FAFAED
border
#D3D3C8
text
#141409
muted
#83837B

Preview Lab

Preview with #B2C531

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

Preview Lab → · Contrast checker → · Palette generator →

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