#B1BD31#B1BD31

#B1BD31 is a light, vivid yellow. Relative luminance 0.460; OKLCH L 76.4% C 0.157 H 114.5°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#B1BD31
RGBrgb(177, 189, 49)
HSLhsl(65, 59%, 47%)
HSVhsv(65, 74%, 74%)
CMYKcmyk(6.3%, 0%, 74.1%, 25.9%)
CIE-LABlab(73.52, -21.17, 64.62)
CIE-LCHlch(73.52, 68.00, 108.14°)
OKLaboklab(76.45% -0.0648 0.1425)
OKLCHoklch(76.45% 0.157 114.5)
XYZxyz(36.8845, 45.9648, 9.8342)
Luminance0.4596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1BD31 #3D31BD
analogous
#BD8331 #B1BD31 #6BBD31
triadic
#B1BD31 #31B1BD #BD31B1
tetradic
#B1BD31 #31BD83 #3D31BD #BD316B
square
#B1BD31 #31BD83 #3D31BD #BD316B
split-complementary
#B1BD31 #316BBD #8331BD
monochromatic
#565C18 #838C24 #B1BD31 #C9D458 #D9E088

Accessibility & contrast

On white

2.06
#B1BD31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.19
#B1BD31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1BD31
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1BD31#FFFFFF#000000##000000
##B1BD311.002.0610.1910.19
#FFFFFF2.061.0021.0021.00
#00000010.1921.001.001.00
##00000010.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB312
Deuteranopia (green-blind)
#CAB63D
Tritanopia (blue-blind)
#BDB2A2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b1bd31;
/* rgb */ color: rgb(177, 189, 49);
/* oklch */ color: oklch(76.4% 0.157 114.5);
Tailwind
colors: {
  custom: {
    50: '#ccd074',
    500: '#b1bd31',
    950: '#000000',
  },
}
SCSS
$custom: #b1bd31;
$custom-light: #ccd074;
$custom-dark: #000000;
JSON
{
  "hex": "#b1bd31",
  "rgb": {
    "r": 177,
    "g": 189,
    "b": 49
  },
  "hsl": {
    "h": 65.143,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.76449,
    "c": 0.15651,
    "h": 114.5
  },
  "luminance": 0.45964
}

Semantic roles & 50–950 ramp

primary
#B1BD31
secondary
#8680CA
accent
#46E253
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B1BD31

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

Preview Lab → · Contrast checker → · Palette generator →

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