#B2BF24#B2BF24

#B2BF24 is a light, vivid yellow. Relative luminance 0.469; OKLCH L 76.9% C 0.165 H 114.7°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#B2BF24
RGBrgb(178, 191, 36)
HSLhsl(65, 68%, 45%)
HSVhsv(65, 81%, 75%)
CMYKcmyk(6.8%, 0%, 81.2%, 25.1%)
CIE-LABlab(74.10, -22.25, 69.04)
CIE-LCHlch(74.10, 72.54, 107.86°)
OKLaboklab(76.91% -0.0688 0.1496)
OKLCHoklch(76.91% 0.165 114.7)
XYZxyz(37.3105, 46.8547, 8.7471)
Luminance0.4685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BF24 #3124BF
analogous
#BF7E24 #B2BF24 #65BF24
triadic
#B2BF24 #24B2BF #BF24B2
tetradic
#B2BF24 #24BF7E #3124BF #BF2465
square
#B2BF24 #24BF7E #3124BF #BF2465
split-complementary
#B2BF24 #2465BF #7E24BF
monochromatic
#525811 #828C1A #B2BF24 #CFDC44 #DCE678

Accessibility & contrast

On white

2.02
#B2BF24 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.37
#B2BF24 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BF24
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BF24#FFFFFF#000000##000000
##B2BF241.002.0210.3710.37
#FFFFFF2.021.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB500
Deuteranopia (green-blind)
#CDB734
Tritanopia (blue-blind)
#BEB3A3
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b2bf24;
/* rgb */ color: rgb(178, 191, 36);
/* oklch */ color: oklch(76.9% 0.165 114.7);
Tailwind
colors: {
  custom: {
    50: '#cdd26e',
    500: '#b2bf24',
    950: '#000000',
  },
}
SCSS
$custom: #b2bf24;
$custom-light: #cdd26e;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bf24",
  "rgb": {
    "r": 178,
    "g": 191,
    "b": 36
  },
  "hsl": {
    "h": 65.032,
    "s": 68.282,
    "l": 44.51
  },
  "oklch": {
    "l": 0.76909,
    "c": 0.16467,
    "h": 114.7
  },
  "luminance": 0.46854
}

Semantic roles & 50–950 ramp

primary
#B2BF24
secondary
#7972CD
accent
#3DEB4B
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B

Preview Lab

Preview with #B2BF24

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

Preview Lab → · Contrast checker → · Palette generator →

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