#B1BF52#B1BF52

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

Color values

HEX#B1BF52
RGBrgb(177, 191, 82)
HSLhsl(68, 46%, 54%)
HSVhsv(68, 57%, 75%)
CMYKcmyk(7.3%, 0%, 57.1%, 25.1%)
CIE-LABlab(74.33, -20.09, 52.27)
CIE-LCHlch(74.33, 55.99, 111.02°)
OKLaboklab(77.18% -0.0585 0.1213)
OKLCHoklch(77.18% 0.135 115.8)
XYZxyz(38.2860, 47.2184, 15.0782)
Luminance0.4722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1BF52 #6052BF
analogous
#BF9652 #B1BF52 #7ABF52
triadic
#B1BF52 #52B1BF #BF52B1
tetradic
#B1BF52 #52BF96 #6052BF #BF527A
square
#B1BF52 #52BF96 #6052BF #BF527A
split-complementary
#B1BF52 #527ABF #9652BF
monochromatic
#656E29 #8E9B39 #B1BF52 #C5D07F #D9E0AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1BF52#FFFFFF#000000##000000
##B1BF521.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)
#CBB646
Deuteranopia (green-blind)
#CAB859
Tritanopia (blue-blind)
#BBB5A7
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b1bf52;
/* rgb */ color: rgb(177, 191, 82);
/* oklch */ color: oklch(77.2% 0.135 115.8);
Tailwind
colors: {
  custom: {
    50: '#cbd286',
    500: '#b1bf52',
    950: '#000000',
  },
}
SCSS
$custom: #b1bf52;
$custom-light: #cbd286;
$custom-dark: #000000;
JSON
{
  "hex": "#b1bf52",
  "rgb": {
    "r": 177,
    "g": 191,
    "b": 82
  },
  "hsl": {
    "h": 67.706,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.77175,
    "c": 0.13465,
    "h": 115.8
  },
  "luminance": 0.47218
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B1BF52

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

Preview Lab → · Contrast checker → · Palette generator →

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