#B2C836#B2C836

#B2C836 is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.0% C 0.165 H 117.9°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#B2C836
RGBrgb(178, 200, 54)
HSLhsl(69, 57%, 50%)
HSVhsv(69, 73%, 78%)
CMYKcmyk(11%, 0%, 73%, 21.6%)
CIE-LABlab(76.70, -25.89, 65.98)
CIE-LCHlch(76.70, 70.88, 111.42°)
OKLaboklab(79.03% -0.0775 0.1462)
OKLCHoklch(79.03% 0.165 117.9)
XYZxyz(39.6811, 51.0403, 11.2507)
Luminance0.5104 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C836 #4C36C8
analogous
#C89536 #B2C836 #69C836
triadic
#B2C836 #36B2C8 #C836B2
tetradic
#B2C836 #36C895 #4C36C8 #C83669
square
#B2C836 #36C895 #4C36C8 #C83669
split-complementary
#B2C836 #3669C8 #9536C8
monochromatic
#5C681C #879829 #B2C836 #C5D666 #D7E396

Accessibility & contrast

On white

1.87
#B2C836 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.21
#B2C836 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C836
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C836#FFFFFF#000000##000000
##B2C8361.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD18
Deuteranopia (green-blind)
#D3BE42
Tritanopia (blue-blind)
#BDBDAC
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #b2c836;
/* rgb */ color: rgb(178, 200, 54);
/* oklch */ color: oklch(79.0% 0.165 117.9);
Tailwind
colors: {
  custom: {
    50: '#cdd877',
    500: '#b2c836',
    950: '#000000',
  },
}
SCSS
$custom: #b2c836;
$custom-light: #cdd877;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c836",
  "rgb": {
    "r": 178,
    "g": 200,
    "b": 54
  },
  "hsl": {
    "h": 69.041,
    "s": 57.48,
    "l": 49.804
  },
  "oklch": {
    "l": 0.79031,
    "c": 0.16544,
    "h": 117.9
  },
  "luminance": 0.5104
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B2C836

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

Preview Lab → · Contrast checker → · Palette generator →

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