#B7BE31#B7BE31

#B7BE31 is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.2% C 0.156 H 112.4°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#B7BE31
RGBrgb(183, 190, 49)
HSLhsl(63, 59%, 47%)
HSVhsv(63, 74%, 75%)
CMYKcmyk(3.7%, 0%, 74.2%, 25.5%)
CIE-LABlab(74.26, -19.13, 65.48)
CIE-LCHlch(74.26, 68.22, 106.28°)
OKLaboklab(77.16% -0.0594 0.1441)
OKLCHoklch(77.16% 0.156 112.4)
XYZxyz(38.4975, 47.1169, 9.9716)
Luminance0.4712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BE31 #3831BE
analogous
#BE7F31 #B7BE31 #70BE31
triadic
#B7BE31 #31B7BE #BE31B7
tetradic
#B7BE31 #31BE7F #3831BE #BE3170
square
#B7BE31 #31BE7F #3831BE #BE3170
split-complementary
#B7BE31 #3170BE #7F31BE
monochromatic
#595D18 #888D24 #B7BE31 #CED458 #DCE189

Accessibility & contrast

On white

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

On black

10.42
#B7BE31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BE31
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BE31#FFFFFF#000000##000000
##B7BE311.002.0110.4210.42
#FFFFFF2.011.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7be31;
/* rgb */ color: rgb(183, 190, 49);
/* oklch */ color: oklch(77.2% 0.156 112.4);
Tailwind
colors: {
  custom: {
    50: '#d0d174',
    500: '#b7be31',
    950: '#000000',
  },
}
SCSS
$custom: #b7be31;
$custom-light: #d0d174;
$custom-dark: #000000;
JSON
{
  "hex": "#b7be31",
  "rgb": {
    "r": 183,
    "g": 190,
    "b": 49
  },
  "hsl": {
    "h": 62.979,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.77158,
    "c": 0.15587,
    "h": 112.4
  },
  "luminance": 0.47116
}

Semantic roles & 50–950 ramp

primary
#B7BE31
secondary
#8480CA
accent
#46E24D
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B7BE31

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

Preview Lab → · Contrast checker → · Palette generator →

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