#B2C535#B2C535

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

Color values

HEX#B2C535
RGBrgb(178, 197, 53)
HSLhsl(68, 58%, 49%)
HSVhsv(68, 73%, 77%)
CMYKcmyk(9.6%, 0%, 73.1%, 22.7%)
CIE-LABlab(75.86, -24.49, 65.51)
CIE-LCHlch(75.86, 69.94, 110.49°)
OKLaboklab(78.35% -0.0737 0.145)
OKLCHoklch(78.35% 0.163 116.9)
XYZxyz(38.9699, 49.6550, 10.8989)
Luminance0.4965 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C535 #4835C5
analogous
#C59035 #B2C535 #6AC535
triadic
#B2C535 #35B2C5 #C535B2
tetradic
#B2C535 #35C590 #4835C5 #C5356A
square
#B2C535 #35C590 #4835C5 #C5356A
split-complementary
#B2C535 #356AC5 #9035C5
monochromatic
#5B651B #869528 #B2C535 #C6D562 #D7E293

Accessibility & contrast

On white

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

On black

10.93
#B2C535 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C535
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C535#FFFFFF#000000##000000
##B2C5351.001.9210.9310.93
#FFFFFF1.921.0021.0021.00
#00000010.9321.001.001.00
##00000010.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2c535;
/* rgb */ color: rgb(178, 197, 53);
/* oklch */ color: oklch(78.3% 0.163 116.9);
Tailwind
colors: {
  custom: {
    50: '#cdd677',
    500: '#b2c535',
    950: '#000000',
  },
}
SCSS
$custom: #b2c535;
$custom-light: #cdd677;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c535",
  "rgb": {
    "r": 178,
    "g": 197,
    "b": 53
  },
  "hsl": {
    "h": 67.917,
    "s": 57.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.78349,
    "c": 0.16266,
    "h": 116.9
  },
  "luminance": 0.49655
}

Semantic roles & 50–950 ramp

primary
#B2C535
secondary
#9289CD
accent
#47E15B
background
#FDFDF7
surface
#FAFAEE
border
#D3D3C9
text
#141409
muted
#83837B

Preview Lab

Preview with #B2C535

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

Preview Lab → · Contrast checker → · Palette generator →

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