#B2BC2E#B2BC2E

#B2BC2E is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.3% C 0.157 H 113.7°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#B2BC2E
RGBrgb(178, 188, 46)
HSLhsl(64, 61%, 46%)
HSVhsv(64, 76%, 74%)
CMYKcmyk(5.3%, 0%, 75.5%, 26.3%)
CIE-LABlab(73.30, -20.39, 65.42)
CIE-LCHlch(73.30, 68.52, 107.31°)
OKLaboklab(76.29% -0.0629 0.1436)
OKLCHoklch(76.29% 0.157 113.7)
XYZxyz(36.8376, 45.6294, 9.4511)
Luminance0.4563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BC2E #382EBC
analogous
#BC7F2E #B2BC2E #6BBC2E
triadic
#B2BC2E #2EB2BC #BC2EB2
tetradic
#B2BC2E #2EBC7F #382EBC #BC2E6B
square
#B2BC2E #2EBC7F #382EBC #BC2E6B
split-complementary
#B2BC2E #2E6BBC #7F2EBC
monochromatic
#555A16 #838B22 #B2BC2E #CCD552 #DAE184

Accessibility & contrast

On white

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

On black

10.13
#B2BC2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BC2E
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BC2E#FFFFFF#000000##000000
##B2BC2E1.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB309
Deuteranopia (green-blind)
#CAB53A
Tritanopia (blue-blind)
#BEB1A1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b2bc2e;
/* rgb */ color: rgb(178, 188, 46);
/* oklch */ color: oklch(76.3% 0.157 113.7);
Tailwind
colors: {
  custom: {
    50: '#cdd072',
    500: '#b2bc2e',
    950: '#000000',
  },
}
SCSS
$custom: #b2bc2e;
$custom-light: #cdd072;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bc2e",
  "rgb": {
    "r": 178,
    "g": 188,
    "b": 46
  },
  "hsl": {
    "h": 64.225,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.76288,
    "c": 0.15679,
    "h": 113.7
  },
  "luminance": 0.45629
}

Semantic roles & 50–950 ramp

primary
#B2BC2E
secondary
#817CCA
accent
#44E44F
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B2BC2E

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

Preview Lab → · Contrast checker → · Palette generator →

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