#B2C552#B2C552

#B2C552 is a light, vivid yellow. Relative luminance 0.500; OKLCH L 78.6% C 0.142 H 117.7°. Best body text is #000000 at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#B2C552
RGBrgb(178, 197, 82)
HSLhsl(70, 50%, 55%)
HSVhsv(70, 58%, 77%)
CMYKcmyk(9.6%, 0%, 58.4%, 22.7%)
CIE-LABlab(76.07, -22.64, 54.24)
CIE-LCHlch(76.07, 58.78, 112.66°)
OKLaboklab(78.59% -0.0658 0.1255)
OKLCHoklch(78.59% 0.142 117.7)
XYZxyz(39.8500, 50.0070, 15.5340)
Luminance0.5001 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C552 #6552C5
analogous
#C59F52 #B2C552 #79C552
triadic
#B2C552 #52B2C5 #C552B2
tetradic
#B2C552 #52C59F #6552C5 #C55279
square
#B2C552 #52C59F #6552C5 #C55279
split-complementary
#B2C552 #5279C5 #9F52C5
monochromatic
#687527 #91A337 #B2C552 #C6D480 #DBE4AE

Accessibility & contrast

On white

1.91
#B2C552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.00
#B2C552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C552
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C552#FFFFFF#000000##000000
##B2C5521.001.9111.0011.00
#FFFFFF1.911.0021.0021.00
#00000011.0021.001.001.00
##00000011.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB45
Deuteranopia (green-blind)
#CFBC59
Tritanopia (blue-blind)
#BCBBAC
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b2c552;
/* rgb */ color: rgb(178, 197, 82);
/* oklch */ color: oklch(78.6% 0.142 117.7);
Tailwind
colors: {
  custom: {
    50: '#cbd687',
    500: '#b2c552',
    950: '#000000',
  },
}
SCSS
$custom: #b2c552;
$custom-light: #cbd687;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c552",
  "rgb": {
    "r": 178,
    "g": 197,
    "b": 82
  },
  "hsl": {
    "h": 69.913,
    "s": 49.784,
    "l": 54.706
  },
  "oklch": {
    "l": 0.78592,
    "c": 0.14166,
    "h": 117.7
  },
  "luminance": 0.50007
}

Semantic roles & 50–950 ramp

primary
#B2C552
secondary
#483D7E
accent
#4ED965
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B2C552

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

Preview Lab → · Contrast checker → · Palette generator →

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