#B2BF51#B2BF51

#B2BF51 is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.2% C 0.135 H 115.3°. Best body text is #000000 at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#B2BF51
RGBrgb(178, 191, 81)
HSLhsl(67, 46%, 53%)
HSVhsv(67, 58%, 75%)
CMYKcmyk(6.8%, 0%, 57.6%, 25.1%)
CIE-LABlab(74.39, -19.76, 52.81)
CIE-LCHlch(74.39, 56.39, 110.51°)
OKLaboklab(77.24% -0.0577 0.1223)
OKLCHoklch(77.24% 0.135 115.3)
XYZxyz(38.4769, 47.3212, 14.8900)
Luminance0.4732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BF51 #5E51BF
analogous
#BF9551 #B2BF51 #7BBF51
triadic
#B2BF51 #51B2BF #BF51B2
tetradic
#B2BF51 #51BF95 #5E51BF #BF517B
square
#B2BF51 #51BF95 #5E51BF #BF517B
split-complementary
#B2BF51 #517BBF #9551BF
monochromatic
#656D28 #8F9A39 #B2BF51 #C6CF7E #DAE0AA

Accessibility & contrast

On white

2.01
#B2BF51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.46
#B2BF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BF51
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BF51#FFFFFF#000000##000000
##B2BF511.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB645
Deuteranopia (green-blind)
#CAB858
Tritanopia (blue-blind)
#BCB5A7
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b2bf51;
/* rgb */ color: rgb(178, 191, 81);
/* oklch */ color: oklch(77.2% 0.135 115.3);
Tailwind
colors: {
  custom: {
    50: '#cbd286',
    500: '#b2bf51',
    950: '#000000',
  },
}
SCSS
$custom: #b2bf51;
$custom-light: #cbd286;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bf51",
  "rgb": {
    "r": 178,
    "g": 191,
    "b": 81
  },
  "hsl": {
    "h": 67.091,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.77244,
    "c": 0.13525,
    "h": 115.3
  },
  "luminance": 0.47321
}

Semantic roles & 50–950 ramp

primary
#B2BF51
secondary
#A49ECE
accent
#52D662
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#14140B
muted
#82827C

Preview Lab

Preview with #B2BF51

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

Preview Lab → · Contrast checker → · Palette generator →

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