#B2BF3B#B2BF3B

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

Color values

HEX#B2BF3B
RGBrgb(178, 191, 59)
HSLhsl(66, 53%, 49%)
HSVhsv(66, 69%, 75%)
CMYKcmyk(6.8%, 0%, 69.1%, 25.1%)
CIE-LABlab(74.22, -21.23, 61.76)
CIE-LCHlch(74.22, 65.31, 108.97°)
OKLaboklab(77.04% -0.0641 0.1381)
OKLCHoklch(77.04% 0.152 114.9)
XYZxyz(37.7813, 47.0430, 11.2268)
Luminance0.4704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BF3B #483BBF
analogous
#BF8A3B #B2BF3B #70BF3B
triadic
#B2BF3B #3BB2BF #BF3BB2
tetradic
#B2BF3B #3BBF8A #483BBF #BF3B70
square
#B2BF3B #3BBF8A #483BBF #BF3B70
split-complementary
#B2BF3B #3B70BF #8A3BBF
monochromatic
#5B611E #86902D #B2BF3B #C6D067 #D7DF96

Accessibility & contrast

On white

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

On black

10.41
#B2BF3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BF3B
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BF3B#FFFFFF#000000##000000
##B2BF3B1.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB626
Deuteranopia (green-blind)
#CCB845
Tritanopia (blue-blind)
#BDB4A5
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b2bf3b;
/* rgb */ color: rgb(178, 191, 59);
/* oklch */ color: oklch(77.0% 0.152 114.9);
Tailwind
colors: {
  custom: {
    50: '#ccd279',
    500: '#b2bf3b',
    950: '#000000',
  },
}
SCSS
$custom: #b2bf3b;
$custom-light: #ccd279;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bf3b",
  "rgb": {
    "r": 178,
    "g": 191,
    "b": 59
  },
  "hsl": {
    "h": 65.909,
    "s": 52.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.77044,
    "c": 0.15227,
    "h": 114.9
  },
  "luminance": 0.47042
}

Semantic roles & 50–950 ramp

primary
#B2BF3B
secondary
#928CCA
accent
#4CDC5A
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #B2BF3B

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

Preview Lab → · Contrast checker → · Palette generator →

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