#B2BF34#B2BF34

#B2BF34 is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.0% C 0.157 H 114.8°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#B2BF34
RGBrgb(178, 191, 52)
HSLhsl(66, 57%, 48%)
HSVhsv(66, 73%, 75%)
CMYKcmyk(6.8%, 0%, 72.8%, 25.1%)
CIE-LABlab(74.17, -21.60, 64.24)
CIE-LCHlch(74.17, 67.78, 108.58°)
OKLaboklab(77% -0.0658 0.1422)
OKLCHoklch(77% 0.157 114.8)
XYZxyz(37.6118, 46.9752, 10.3339)
Luminance0.4698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BF34 #4134BF
analogous
#BF8734 #B2BF34 #6CBF34
triadic
#B2BF34 #34B2BF #BF34B2
tetradic
#B2BF34 #34BF87 #4134BF #BF346C
square
#B2BF34 #34BF87 #4134BF #BF346C
split-complementary
#B2BF34 #346CBF #8734BF
monochromatic
#585F1A #858F27 #B2BF34 #C8D35D #D8E08D

Accessibility & contrast

On white

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

On black

10.40
#B2BF34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BF34
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BF34#FFFFFF#000000##000000
##B2BF341.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB518
Deuteranopia (green-blind)
#CCB83F
Tritanopia (blue-blind)
#BEB4A4
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b2bf34;
/* rgb */ color: rgb(178, 191, 52);
/* oklch */ color: oklch(77.0% 0.157 114.8);
Tailwind
colors: {
  custom: {
    50: '#ccd275',
    500: '#b2bf34',
    950: '#000000',
  },
}
SCSS
$custom: #b2bf34;
$custom-light: #ccd275;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bf34",
  "rgb": {
    "r": 178,
    "g": 191,
    "b": 52
  },
  "hsl": {
    "h": 65.612,
    "s": 57.202,
    "l": 47.647
  },
  "oklch": {
    "l": 0.76996,
    "c": 0.15665,
    "h": 114.8
  },
  "luminance": 0.46975
}

Semantic roles & 50–950 ramp

primary
#B2BF34
secondary
#8B84CA
accent
#47E056
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B2BF34

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

Preview Lab → · Contrast checker → · Palette generator →

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