#B2BC38#B2BC38

#B2BC38 is a light, vivid yellow. Relative luminance 0.457; OKLCH L 76.4% C 0.151 H 113.7°. Best body text is #000000 at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#B2BC38
RGBrgb(178, 188, 56)
HSLhsl(65, 54%, 48%)
HSVhsv(65, 70%, 74%)
CMYKcmyk(5.3%, 0%, 70.2%, 26.3%)
CIE-LABlab(73.36, -19.91, 62.03)
CIE-LCHlch(73.36, 65.15, 107.79°)
OKLaboklab(76.35% -0.0607 0.1382)
OKLCHoklch(76.35% 0.151 113.7)
XYZxyz(37.0582, 45.7177, 10.6128)
Luminance0.4572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BC38 #4238BC
analogous
#BC8438 #B2BC38 #70BC38
triadic
#B2BC38 #38B2BC #BC38B2
tetradic
#B2BC38 #38BC84 #4238BC #BC3870
square
#B2BC38 #38BC84 #4238BC #BC3870
split-complementary
#B2BC38 #3870BC #8438BC
monochromatic
#595E1C #858D2A #B2BC38 #C8D061 #D8DE90

Accessibility & contrast

On white

2.07
#B2BC38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.14
#B2BC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BC38
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BC38#FFFFFF#000000##000000
##B2BC381.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB322
Deuteranopia (green-blind)
#C9B542
Tritanopia (blue-blind)
#BEB1A2
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b2bc38;
/* rgb */ color: rgb(178, 188, 56);
/* oklch */ color: oklch(76.4% 0.151 113.7);
Tailwind
colors: {
  custom: {
    50: '#ccd077',
    500: '#b2bc38',
    950: '#000000',
  },
}
SCSS
$custom: #b2bc38;
$custom-light: #ccd077;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bc38",
  "rgb": {
    "r": 178,
    "g": 188,
    "b": 56
  },
  "hsl": {
    "h": 64.545,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.76353,
    "c": 0.15092,
    "h": 113.7
  },
  "luminance": 0.45717
}

Semantic roles & 50–950 ramp

primary
#B2BC38
secondary
#8C87C9
accent
#4ADD55
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B2BC38

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

Preview Lab → · Contrast checker → · Palette generator →

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