#B4BE31#B4BE31

#B4BE31 is a light, vivid yellow. Relative luminance 0.468; OKLCH L 76.9% C 0.157 H 113.6°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#B4BE31
RGBrgb(180, 190, 49)
HSLhsl(64, 59%, 47%)
HSVhsv(64, 74%, 75%)
CMYKcmyk(5.3%, 0%, 74.2%, 25.5%)
CIE-LABlab(74.03, -20.40, 65.18)
CIE-LCHlch(74.03, 68.29, 107.38°)
OKLaboklab(76.91% -0.0628 0.1436)
OKLCHoklch(76.91% 0.157 113.6)
XYZxyz(37.7914, 46.7527, 9.9385)
Luminance0.4675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BE31 #3B31BE
analogous
#BE8131 #B4BE31 #6EBE31
triadic
#B4BE31 #31B4BE #BE31B4
tetradic
#B4BE31 #31BE81 #3B31BE #BE316E
square
#B4BE31 #31BE81 #3B31BE #BE316E
split-complementary
#B4BE31 #316EBE #8131BE
monochromatic
#585D18 #868D24 #B4BE31 #CBD458 #DAE189

Accessibility & contrast

On white

2.03
#B4BE31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.35
#B4BE31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4BE31
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4BE31#FFFFFF#000000##000000
##B4BE311.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4be31;
/* rgb */ color: rgb(180, 190, 49);
/* oklch */ color: oklch(76.9% 0.157 113.6);
Tailwind
colors: {
  custom: {
    50: '#ced174',
    500: '#b4be31',
    950: '#000000',
  },
}
SCSS
$custom: #b4be31;
$custom-light: #ced174;
$custom-dark: #000000;
JSON
{
  "hex": "#b4be31",
  "rgb": {
    "r": 180,
    "g": 190,
    "b": 49
  },
  "hsl": {
    "h": 64.255,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.76914,
    "c": 0.15669,
    "h": 113.6
  },
  "luminance": 0.46752
}

Semantic roles & 50–950 ramp

primary
#B4BE31
secondary
#8680CA
accent
#46E251
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B4BE31

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

Preview Lab → · Contrast checker → · Palette generator →

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