#B8BE31#B8BE31

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

Color values

HEX#B8BE31
RGBrgb(184, 190, 49)
HSLhsl(63, 59%, 47%)
HSVhsv(63, 74%, 75%)
CMYKcmyk(3.2%, 0%, 74.2%, 25.5%)
CIE-LABlab(74.34, -18.70, 65.58)
CIE-LCHlch(74.34, 68.20, 105.92°)
OKLaboklab(77.24% -0.0583 0.1443)
OKLCHoklch(77.24% 0.156 112)
XYZxyz(38.7363, 47.2400, 9.9828)
Luminance0.4724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BE31 #3731BE
analogous
#BE7E31 #B8BE31 #72BE31
triadic
#B8BE31 #31B8BE #BE31B8
tetradic
#B8BE31 #31BE7E #3731BE #BE3172
square
#B8BE31 #31BE7E #3731BE #BE3172
split-complementary
#B8BE31 #3172BE #7E31BE
monochromatic
#5A5D18 #898D24 #B8BE31 #CFD458 #DDE189

Accessibility & contrast

On white

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

On black

10.45
#B8BE31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8BE31
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8BE31#FFFFFF#000000##000000
##B8BE311.002.0110.4510.45
#FFFFFF2.011.0021.0021.00
#00000010.4521.001.001.00
##00000010.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8be31;
/* rgb */ color: rgb(184, 190, 49);
/* oklch */ color: oklch(77.2% 0.156 112.0);
Tailwind
colors: {
  custom: {
    50: '#d1d174',
    500: '#b8be31',
    950: '#000000',
  },
}
SCSS
$custom: #b8be31;
$custom-light: #d1d174;
$custom-dark: #000000;
JSON
{
  "hex": "#b8be31",
  "rgb": {
    "r": 184,
    "g": 190,
    "b": 49
  },
  "hsl": {
    "h": 62.553,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.7724,
    "c": 0.15561,
    "h": 112
  },
  "luminance": 0.47239
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B8BE31

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

Preview Lab → · Contrast checker → · Palette generator →

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