#B1BE31#B1BE31

#B1BE31 is a light, vivid yellow. Relative luminance 0.464; OKLCH L 76.7% C 0.158 H 114.8°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#B1BE31
RGBrgb(177, 190, 49)
HSLhsl(66, 59%, 47%)
HSVhsv(66, 74%, 75%)
CMYKcmyk(6.8%, 0%, 74.2%, 25.5%)
CIE-LABlab(73.80, -21.67, 64.88)
CIE-LCHlch(73.80, 68.40, 108.47°)
OKLaboklab(76.67% -0.0662 0.143)
OKLCHoklch(76.67% 0.158 114.8)
XYZxyz(37.1004, 46.3964, 9.9061)
Luminance0.4640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1BE31 #3E31BE
analogous
#BE8531 #B1BE31 #6BBE31
triadic
#B1BE31 #31B1BE #BE31B1
tetradic
#B1BE31 #31BE85 #3E31BE #BE316B
square
#B1BE31 #31BE85 #3E31BE #BE316B
split-complementary
#B1BE31 #316BBE #8531BE
monochromatic
#565D18 #848D24 #B1BE31 #C9D458 #D8E189

Accessibility & contrast

On white

2.04
#B1BE31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.28
#B1BE31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1BE31
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1BE31#FFFFFF#000000##000000
##B1BE311.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB412
Deuteranopia (green-blind)
#CBB73D
Tritanopia (blue-blind)
#BDB3A3
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b1be31;
/* rgb */ color: rgb(177, 190, 49);
/* oklch */ color: oklch(76.7% 0.158 114.8);
Tailwind
colors: {
  custom: {
    50: '#ccd174',
    500: '#b1be31',
    950: '#000000',
  },
}
SCSS
$custom: #b1be31;
$custom-light: #ccd174;
$custom-dark: #000000;
JSON
{
  "hex": "#b1be31",
  "rgb": {
    "r": 177,
    "g": 190,
    "b": 49
  },
  "hsl": {
    "h": 65.532,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.76673,
    "c": 0.15759,
    "h": 114.8
  },
  "luminance": 0.46396
}

Semantic roles & 50–950 ramp

primary
#B1BE31
secondary
#8780CA
accent
#46E254
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B1BE31

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

Preview Lab → · Contrast checker → · Palette generator →

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