#B9BE31#B9BE31

#B9BE31 is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.3% C 0.155 H 111.6°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#B9BE31
RGBrgb(185, 190, 49)
HSLhsl(62, 59%, 47%)
HSVhsv(62, 74%, 75%)
CMYKcmyk(2.6%, 0%, 74.2%, 25.5%)
CIE-LABlab(74.42, -18.28, 65.68)
CIE-LCHlch(74.42, 68.18, 105.55°)
OKLaboklab(77.32% -0.0572 0.1445)
OKLCHoklch(77.32% 0.155 111.6)
XYZxyz(38.9767, 47.3639, 9.9941)
Luminance0.4736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BE31 #3631BE
analogous
#BE7D31 #B9BE31 #72BE31
triadic
#B9BE31 #31B9BE #BE31B9
tetradic
#B9BE31 #31BE7D #3631BE #BE3172
square
#B9BE31 #31BE7D #3631BE #BE3172
split-complementary
#B9BE31 #3172BE #7D31BE
monochromatic
#5A5D18 #8A8D24 #B9BE31 #D0D458 #DDE189

Accessibility & contrast

On white

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

On black

10.47
#B9BE31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9BE31
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9BE31#FFFFFF#000000##000000
##B9BE311.002.0110.4710.47
#FFFFFF2.011.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB511
Deuteranopia (green-blind)
#CEB93D
Tritanopia (blue-blind)
#C6B2A3
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b9be31;
/* rgb */ color: rgb(185, 190, 49);
/* oklch */ color: oklch(77.3% 0.155 111.6);
Tailwind
colors: {
  custom: {
    50: '#d2d174',
    500: '#b9be31',
    950: '#000000',
  },
}
SCSS
$custom: #b9be31;
$custom-light: #d2d174;
$custom-dark: #000000;
JSON
{
  "hex": "#b9be31",
  "rgb": {
    "r": 185,
    "g": 190,
    "b": 49
  },
  "hsl": {
    "h": 62.128,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.77323,
    "c": 0.15536,
    "h": 111.6
  },
  "luminance": 0.47363
}

Semantic roles & 50–950 ramp

primary
#B9BE31
secondary
#8380CA
accent
#46E24B
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #B9BE31

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

Preview Lab → · Contrast checker → · Palette generator →

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