#B2C843#B2C843

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

Color values

HEX#B2C843
RGBrgb(178, 200, 67)
HSLhsl(70, 55%, 52%)
HSVhsv(70, 67%, 78%)
CMYKcmyk(11%, 0%, 66.5%, 21.6%)
CIE-LABlab(76.79, -25.16, 61.30)
CIE-LCHlch(76.79, 66.26, 112.32°)
OKLaboklab(79.13% -0.0743 0.1384)
OKLCHoklch(79.13% 0.157 118.2)
XYZxyz(40.0283, 51.1791, 13.0790)
Luminance0.5118 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C843 #5943C8
analogous
#C89C43 #B2C843 #6FC843
triadic
#B2C843 #43B2C8 #C843B2
tetradic
#B2C843 #43C89C #5943C8 #C8436F
square
#B2C843 #43C89C #5943C8 #C8436F
split-complementary
#B2C843 #436FC8 #9C43C8
monochromatic
#637021 #8D9F2F #B2C843 #C5D672 #D9E4A2

Accessibility & contrast

On white

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

On black

11.24
#B2C843 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C843
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C843#FFFFFF#000000##000000
##B2C8431.001.8711.2411.24
#FFFFFF1.871.0021.0021.00
#00000011.2421.001.001.00
##00000011.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2c843;
/* rgb */ color: rgb(178, 200, 67);
/* oklch */ color: oklch(79.1% 0.157 118.2);
Tailwind
colors: {
  custom: {
    50: '#ccd87e',
    500: '#b2c843',
    950: '#000000',
  },
}
SCSS
$custom: #b2c843;
$custom-light: #ccd87e;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c843",
  "rgb": {
    "r": 178,
    "g": 200,
    "b": 67
  },
  "hsl": {
    "h": 69.925,
    "s": 54.733,
    "l": 52.353
  },
  "oklch": {
    "l": 0.79125,
    "c": 0.15706,
    "h": 118.2
  },
  "luminance": 0.51179
}

Semantic roles & 50–950 ramp

primary
#B2C843
secondary
#413679
accent
#4ADE62
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B2C843

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

Preview Lab → · Contrast checker → · Palette generator →

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