#B1BF51#B1BF51

#B1BF51 is a light, vivid yellow. Relative luminance 0.472; OKLCH L 77.2% C 0.136 H 115.7°. Best body text is #000000 at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#B1BF51
RGBrgb(177, 191, 81)
HSLhsl(68, 46%, 53%)
HSVhsv(68, 58%, 75%)
CMYKcmyk(7.3%, 0%, 57.6%, 25.1%)
CIE-LABlab(74.32, -20.17, 52.71)
CIE-LCHlch(74.32, 56.43, 110.94°)
OKLaboklab(77.16% -0.0588 0.1221)
OKLCHoklch(77.16% 0.136 115.7)
XYZxyz(38.2482, 47.2033, 14.8792)
Luminance0.4720 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1BF51 #5F51BF
analogous
#BF9651 #B1BF51 #7ABF51
triadic
#B1BF51 #51B1BF #BF51B1
tetradic
#B1BF51 #51BF96 #5F51BF #BF517A
square
#B1BF51 #51BF96 #5F51BF #BF517A
split-complementary
#B1BF51 #517ABF #9651BF
monochromatic
#656D28 #8E9A39 #B1BF51 #C5CF7E #D9E0AA

Accessibility & contrast

On white

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

On black

10.44
#B1BF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1BF51
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1BF51#FFFFFF#000000##000000
##B1BF511.002.0110.4410.44
#FFFFFF2.011.0021.0021.00
#00000010.4421.001.001.00
##00000010.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b1bf51;
/* rgb */ color: rgb(177, 191, 81);
/* oklch */ color: oklch(77.2% 0.136 115.7);
Tailwind
colors: {
  custom: {
    50: '#cbd286',
    500: '#b1bf51',
    950: '#000000',
  },
}
SCSS
$custom: #b1bf51;
$custom-light: #cbd286;
$custom-dark: #000000;
JSON
{
  "hex": "#b1bf51",
  "rgb": {
    "r": 177,
    "g": 191,
    "b": 81
  },
  "hsl": {
    "h": 67.636,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.77165,
    "c": 0.13554,
    "h": 115.7
  },
  "luminance": 0.47203
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B1BF51

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

Preview Lab → · Contrast checker → · Palette generator →

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