#B5BF2C#B5BF2C

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

Color values

HEX#B5BF2C
RGBrgb(181, 191, 44)
HSLhsl(64, 63%, 46%)
HSVhsv(64, 77%, 75%)
CMYKcmyk(5.2%, 0%, 77%, 25.1%)
CIE-LABlab(74.36, -20.68, 67.10)
CIE-LCHlch(74.36, 70.21, 107.13°)
OKLaboklab(77.19% -0.0641 0.1467)
OKLCHoklch(77.19% 0.16 113.6)
XYZxyz(38.1427, 47.2680, 9.4967)
Luminance0.4727 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BF2C #362CBF
analogous
#BF7F2C #B5BF2C #6BBF2C
triadic
#B5BF2C #2CB5BF #BF2CB5
tetradic
#B5BF2C #2CBF7F #362CBF #BF2C6B
square
#B5BF2C #2CBF7F #362CBF #BF2C6B
split-complementary
#B5BF2C #2C6BBF #7F2CBF
monochromatic
#575C15 #868D21 #B5BF2C #CED751 #DCE283

Accessibility & contrast

On white

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

On black

10.45
#B5BF2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BF2C
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BF2C#FFFFFF#000000##000000
##B5BF2C1.002.0110.4510.45
#FFFFFF2.011.0021.0021.00
#00000010.4521.001.001.00
##00000010.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB600
Deuteranopia (green-blind)
#CDB839
Tritanopia (blue-blind)
#C1B3A4
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b5bf2c;
/* rgb */ color: rgb(181, 191, 44);
/* oklch */ color: oklch(77.2% 0.160 113.6);
Tailwind
colors: {
  custom: {
    50: '#cfd272',
    500: '#b5bf2c',
    950: '#000000',
  },
}
SCSS
$custom: #b5bf2c;
$custom-light: #cfd272;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bf2c",
  "rgb": {
    "r": 181,
    "g": 191,
    "b": 44
  },
  "hsl": {
    "h": 64.082,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.77189,
    "c": 0.1601,
    "h": 113.6
  },
  "luminance": 0.47267
}

Semantic roles & 50–950 ramp

primary
#B5BF2C
secondary
#817BCC
accent
#42E64D
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B5BF2C

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

Preview Lab → · Contrast checker → · Palette generator →

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