#B2C837#B2C837

#B2C837 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#B2C837
RGBrgb(178, 200, 55)
HSLhsl(69, 57%, 50%)
HSVhsv(69, 73%, 78%)
CMYKcmyk(11%, 0%, 72.5%, 21.6%)
CIE-LABlab(76.71, -25.84, 65.65)
CIE-LCHlch(76.71, 70.55, 111.48°)
OKLaboklab(79.04% -0.0772 0.1456)
OKLCHoklch(79.04% 0.165 117.9)
XYZxyz(39.7049, 51.0498, 11.3756)
Luminance0.5105 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C837 #4D37C8
analogous
#C89537 #B2C837 #6AC837
triadic
#B2C837 #37B2C8 #C837B2
tetradic
#B2C837 #37C895 #4D37C8 #C8376A
square
#B2C837 #37C895 #4D37C8 #C8376A
split-complementary
#B2C837 #376AC8 #9537C8
monochromatic
#5D681D #87982A #B2C837 #C4D567 #D7E297

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2C837#FFFFFF#000000##000000
##B2C8371.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)
#D5BD1B
Deuteranopia (green-blind)
#D3BE43
Tritanopia (blue-blind)
#BDBDAC
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #b2c837;
/* rgb */ color: rgb(178, 200, 55);
/* oklch */ color: oklch(79.0% 0.165 117.9);
Tailwind
colors: {
  custom: {
    50: '#cdd878',
    500: '#b2c837',
    950: '#000000',
  },
}
SCSS
$custom: #b2c837;
$custom-light: #cdd878;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c837",
  "rgb": {
    "r": 178,
    "g": 200,
    "b": 55
  },
  "hsl": {
    "h": 69.103,
    "s": 56.863,
    "l": 50
  },
  "oklch": {
    "l": 0.79038,
    "c": 0.16485,
    "h": 117.9
  },
  "luminance": 0.51049
}

Semantic roles & 50–950 ramp

primary
#B2C837
secondary
#3B3172
accent
#48E05F
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#14140A
muted
#83837D

Preview Lab

Preview with #B2C837

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

Preview Lab → · Contrast checker → · Palette generator →

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