#B2BC2D#B2BC2D

#B2BC2D 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.12:1 contrast (WCAG AA passes).

Color values

HEX#B2BC2D
RGBrgb(178, 188, 45)
HSLhsl(64, 61%, 46%)
HSVhsv(64, 76%, 74%)
CMYKcmyk(5.3%, 0%, 76.1%, 26.3%)
CIE-LABlab(73.30, -20.43, 65.73)
CIE-LCHlch(73.30, 68.83, 107.26°)
OKLaboklab(76.28% -0.0631 0.1441)
OKLCHoklch(76.28% 0.157 113.7)
XYZxyz(36.8181, 45.6217, 9.3485)
Luminance0.4562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BC2D #372DBC
analogous
#BC7E2D #B2BC2D #6ABC2D
triadic
#B2BC2D #2DB2BC #BC2DB2
tetradic
#B2BC2D #2DBC7E #372DBC #BC2D6A
square
#B2BC2D #2DBC7E #372DBC #BC2D6A
split-complementary
#B2BC2D #2D6ABC #7E2DBC
monochromatic
#545915 #838B21 #B2BC2D #CCD551 #DBE182

Accessibility & contrast

On white

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

On black

10.12
#B2BC2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BC2D
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BC2D#FFFFFF#000000##000000
##B2BC2D1.002.0710.1210.12
#FFFFFF2.071.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2bc2d;
/* rgb */ color: rgb(178, 188, 45);
/* oklch */ color: oklch(76.3% 0.157 113.7);
Tailwind
colors: {
  custom: {
    50: '#cdd072',
    500: '#b2bc2d',
    950: '#000000',
  },
}
SCSS
$custom: #b2bc2d;
$custom-light: #cdd072;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bc2d",
  "rgb": {
    "r": 178,
    "g": 188,
    "b": 45
  },
  "hsl": {
    "h": 64.196,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.76282,
    "c": 0.15732,
    "h": 113.7
  },
  "luminance": 0.45621
}

Semantic roles & 50–950 ramp

primary
#B2BC2D
secondary
#807BCA
accent
#43E44F
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B2BC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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