#B2BE31#B2BE31

#B2BE31 is a light, vivid yellow. Relative luminance 0.465; OKLCH L 76.8% C 0.157 H 114.4°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#B2BE31
RGBrgb(178, 190, 49)
HSLhsl(65, 59%, 47%)
HSVhsv(65, 74%, 75%)
CMYKcmyk(6.3%, 0%, 74.2%, 25.5%)
CIE-LABlab(73.88, -21.24, 64.98)
CIE-LCHlch(73.88, 68.36, 108.10°)
OKLaboklab(76.75% -0.065 0.1432)
OKLCHoklch(76.75% 0.157 114.4)
XYZxyz(37.3290, 46.5143, 9.9169)
Luminance0.4651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BE31 #3D31BE
analogous
#BE8331 #B2BE31 #6CBE31
triadic
#B2BE31 #31B2BE #BE31B2
tetradic
#B2BE31 #31BE83 #3D31BE #BE316C
square
#B2BE31 #31BE83 #3D31BE #BE316C
split-complementary
#B2BE31 #316CBE #8331BE
monochromatic
#575D18 #848D24 #B2BE31 #C9D458 #D9E189

Accessibility & contrast

On white

2.04
#B2BE31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.30
#B2BE31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BE31
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BE31#FFFFFF#000000##000000
##B2BE311.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB411
Deuteranopia (green-blind)
#CBB73D
Tritanopia (blue-blind)
#BEB3A3
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b2be31;
/* rgb */ color: rgb(178, 190, 49);
/* oklch */ color: oklch(76.8% 0.157 114.4);
Tailwind
colors: {
  custom: {
    50: '#cdd174',
    500: '#b2be31',
    950: '#000000',
  },
}
SCSS
$custom: #b2be31;
$custom-light: #cdd174;
$custom-dark: #000000;
JSON
{
  "hex": "#b2be31",
  "rgb": {
    "r": 178,
    "g": 190,
    "b": 49
  },
  "hsl": {
    "h": 65.106,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.76753,
    "c": 0.15728,
    "h": 114.4
  },
  "luminance": 0.46514
}

Semantic roles & 50–950 ramp

primary
#B2BE31
secondary
#8780CA
accent
#46E253
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B2BE31

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

Preview Lab → · Contrast checker → · Palette generator →

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