#B5BE31#B5BE31

#B5BE31 is a light, vivid yellow. Relative luminance 0.469; OKLCH L 77.0% C 0.156 H 113.2°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#B5BE31
RGBrgb(181, 190, 49)
HSLhsl(64, 59%, 47%)
HSVhsv(64, 74%, 75%)
CMYKcmyk(4.7%, 0%, 74.2%, 25.5%)
CIE-LABlab(74.11, -19.98, 65.28)
CIE-LCHlch(74.11, 68.26, 107.01°)
OKLaboklab(77% -0.0617 0.1437)
OKLCHoklch(77% 0.156 113.2)
XYZxyz(38.0251, 46.8732, 9.9495)
Luminance0.4687 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BE31 #3A31BE
analogous
#BE8131 #B5BE31 #6FBE31
triadic
#B5BE31 #31B5BE #BE31B5
tetradic
#B5BE31 #31BE81 #3A31BE #BE316F
square
#B5BE31 #31BE81 #3A31BE #BE316F
split-complementary
#B5BE31 #316FBE #8131BE
monochromatic
#585D18 #878D24 #B5BE31 #CCD458 #DBE189

Accessibility & contrast

On white

2.02
#B5BE31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.37
#B5BE31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BE31
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BE31#FFFFFF#000000##000000
##B5BE311.002.0210.3710.37
#FFFFFF2.021.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB511
Deuteranopia (green-blind)
#CCB83D
Tritanopia (blue-blind)
#C1B2A3
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b5be31;
/* rgb */ color: rgb(181, 190, 49);
/* oklch */ color: oklch(77.0% 0.156 113.2);
Tailwind
colors: {
  custom: {
    50: '#cfd174',
    500: '#b5be31',
    950: '#000000',
  },
}
SCSS
$custom: #b5be31;
$custom-light: #cfd174;
$custom-dark: #000000;
JSON
{
  "hex": "#b5be31",
  "rgb": {
    "r": 181,
    "g": 190,
    "b": 49
  },
  "hsl": {
    "h": 63.83,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.76995,
    "c": 0.15641,
    "h": 113.2
  },
  "luminance": 0.46872
}

Semantic roles & 50–950 ramp

primary
#B5BE31
secondary
#8580CA
accent
#46E250
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B5BE31

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

Preview Lab → · Contrast checker → · Palette generator →

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