#B2BC52#B2BC52

#B2BC52 is a light, vivid yellow. Relative luminance 0.460; OKLCH L 76.6% C 0.131 H 114.0°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#B2BC52
RGBrgb(178, 188, 82)
HSLhsl(66, 44%, 53%)
HSVhsv(66, 56%, 74%)
CMYKcmyk(5.3%, 0%, 56.4%, 26.3%)
CIE-LABlab(73.57, -18.17, 51.43)
CIE-LCHlch(73.57, 54.55, 109.46°)
OKLaboklab(76.59% -0.0532 0.1195)
OKLCHoklch(76.59% 0.131 114)
XYZxyz(37.8671, 46.0412, 14.8731)
Luminance0.4604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BC52 #5C52BC
analogous
#BC9152 #B2BC52 #7DBC52
triadic
#B2BC52 #52B2BC #BC52B2
tetradic
#B2BC52 #52BC91 #5C52BC #BC527D
square
#B2BC52 #52BC91 #5C52BC #BC527D
split-complementary
#B2BC52 #527DBC #9152BC
monochromatic
#646A29 #8E973A #B2BC52 #C6CD7E #D9DEAA

Accessibility & contrast

On white

2.06
#B2BC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.21
#B2BC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BC52
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BC52#FFFFFF#000000##000000
##B2BC521.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B447
Deuteranopia (green-blind)
#C8B658
Tritanopia (blue-blind)
#BCB2A5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b2bc52;
/* rgb */ color: rgb(178, 188, 82);
/* oklch */ color: oklch(76.6% 0.131 114.0);
Tailwind
colors: {
  custom: {
    50: '#cbd086',
    500: '#b2bc52',
    950: '#000000',
  },
}
SCSS
$custom: #b2bc52;
$custom-light: #cbd086;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bc52",
  "rgb": {
    "r": 178,
    "g": 188,
    "b": 82
  },
  "hsl": {
    "h": 65.66,
    "s": 44.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.76588,
    "c": 0.13078,
    "h": 114
  },
  "luminance": 0.46041
}

Semantic roles & 50–950 ramp

primary
#B2BC52
secondary
#A29ECC
accent
#54D460
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#14130B
muted
#82827C

Preview Lab

Preview with #B2BC52

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

Preview Lab → · Contrast checker → · Palette generator →

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