#B2C935#B2C935

#B2C935 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#B2C935
RGBrgb(178, 201, 53)
HSLhsl(69, 58%, 50%)
HSVhsv(69, 74%, 79%)
CMYKcmyk(11.4%, 0%, 73.6%, 21.2%)
CIE-LABlab(76.98, -26.42, 66.58)
CIE-LCHlch(76.98, 71.63, 111.64°)
OKLaboklab(79.25% -0.079 0.1473)
OKLCHoklch(79.25% 0.167 118.2)
XYZxyz(39.8902, 51.4957, 11.2057)
Luminance0.5150 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C935 #4C35C9
analogous
#C99635 #B2C935 #68C935
triadic
#B2C935 #35B2C9 #C935B2
tetradic
#B2C935 #35C996 #4C35C9 #C93568
square
#B2C935 #35C996 #4C35C9 #C93568
split-complementary
#B2C935 #3568C9 #9635C9
monochromatic
#5C681B #879928 #B2C935 #C5D665 #D7E395

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2C935#FFFFFF#000000##000000
##B2C9351.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)
#D6BE15
Deuteranopia (green-blind)
#D4BF42
Tritanopia (blue-blind)
#BDBEAD
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b2c935;
/* rgb */ color: rgb(178, 201, 53);
/* oklch */ color: oklch(79.3% 0.167 118.2);
Tailwind
colors: {
  custom: {
    50: '#cdd977',
    500: '#b2c935',
    950: '#000000',
  },
}
SCSS
$custom: #b2c935;
$custom-light: #cdd977;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c935",
  "rgb": {
    "r": 178,
    "g": 201,
    "b": 53
  },
  "hsl": {
    "h": 69.324,
    "s": 58.268,
    "l": 49.804
  },
  "oklch": {
    "l": 0.7925,
    "c": 0.16713,
    "h": 118.2
  },
  "luminance": 0.51495
}

Semantic roles & 50–950 ramp

primary
#B2C935
secondary
#3A3072
accent
#46E15E
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B2C935

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

Preview Lab → · Contrast checker → · Palette generator →

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