#B2C841#B2C841

#B2C841 is a light, vivid yellow. Relative luminance 0.512; OKLCH L 79.1% C 0.158 H 118.2°. Best body text is #000000 at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#B2C841
RGBrgb(178, 200, 65)
HSLhsl(70, 55%, 52%)
HSVhsv(70, 68%, 78%)
CMYKcmyk(11%, 0%, 67.5%, 21.6%)
CIE-LABlab(76.77, -25.29, 62.06)
CIE-LCHlch(76.77, 67.01, 112.17°)
OKLaboklab(79.11% -0.0748 0.1397)
OKLCHoklch(79.11% 0.158 118.2)
XYZxyz(39.9693, 51.1555, 12.7684)
Luminance0.5115 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C841 #5741C8
analogous
#C89B41 #B2C841 #6FC841
triadic
#B2C841 #41B2C8 #C841B2
tetradic
#B2C841 #41C89B #5741C8 #C8416F
square
#B2C841 #41C89B #5741C8 #C8416F
split-complementary
#B2C841 #416FC8 #9B41C8
monochromatic
#626F20 #8C9E2E #B2C841 #C5D670 #D8E3A0

Accessibility & contrast

On white

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

On black

11.23
#B2C841 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C841
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C841#FFFFFF#000000##000000
##B2C8411.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD2D
Deuteranopia (green-blind)
#D3BE4B
Tritanopia (blue-blind)
#BCBDAD
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #b2c841;
/* rgb */ color: rgb(178, 200, 65);
/* oklch */ color: oklch(79.1% 0.158 118.2);
Tailwind
colors: {
  custom: {
    50: '#ccd87d',
    500: '#b2c841',
    950: '#000000',
  },
}
SCSS
$custom: #b2c841;
$custom-light: #ccd87d;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c841",
  "rgb": {
    "r": 178,
    "g": 200,
    "b": 65
  },
  "hsl": {
    "h": 69.778,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.79109,
    "c": 0.15847,
    "h": 118.2
  },
  "luminance": 0.51155
}

Semantic roles & 50–950 ramp

primary
#B2C841
secondary
#403578
accent
#49DE62
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B2C841

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

Preview Lab → · Contrast checker → · Palette generator →

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