#B5BE2B#B5BE2B

#B5BE2B is a light, vivid yellow. Relative luminance 0.468; OKLCH L 77.0% C 0.160 H 113.2°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#B5BE2B
RGBrgb(181, 190, 43)
HSLhsl(64, 63%, 46%)
HSVhsv(64, 77%, 75%)
CMYKcmyk(4.7%, 0%, 77.4%, 25.5%)
CIE-LABlab(74.08, -20.23, 67.15)
CIE-LCHlch(74.08, 70.13, 106.76°)
OKLaboklab(76.96% -0.0629 0.1466)
OKLCHoklch(76.96% 0.16 113.2)
XYZxyz(37.9068, 46.8259, 9.3265)
Luminance0.4682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BE2B #342BBE
analogous
#BE7D2B #B5BE2B #6CBE2B
triadic
#B5BE2B #2BB5BE #BE2BB5
tetradic
#B5BE2B #2BBE7D #342BBE #BE2B6C
square
#B5BE2B #2BBE7D #342BBE #BE2B6C
split-complementary
#B5BE2B #2B6CBE #7D2BBE
monochromatic
#565A14 #858C20 #B5BE2B #CFD74F #DCE281

Accessibility & contrast

On white

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

On black

10.36
#B5BE2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BE2B
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BE2B#FFFFFF#000000##000000
##B5BE2B1.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB500
Deuteranopia (green-blind)
#CDB838
Tritanopia (blue-blind)
#C1B2A3
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b5be2b;
/* rgb */ color: rgb(181, 190, 43);
/* oklch */ color: oklch(77.0% 0.160 113.2);
Tailwind
colors: {
  custom: {
    50: '#cfd171',
    500: '#b5be2b',
    950: '#000000',
  },
}
SCSS
$custom: #b5be2b;
$custom-light: #cfd171;
$custom-dark: #000000;
JSON
{
  "hex": "#b5be2b",
  "rgb": {
    "r": 181,
    "g": 190,
    "b": 43
  },
  "hsl": {
    "h": 63.673,
    "s": 63.09,
    "l": 45.686
  },
  "oklch": {
    "l": 0.76961,
    "c": 0.15955,
    "h": 113.2
  },
  "luminance": 0.46825
}

Semantic roles & 50–950 ramp

primary
#B5BE2B
secondary
#7F7ACB
accent
#42E64C
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B

Preview Lab

Preview with #B5BE2B

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

Preview Lab → · Contrast checker → · Palette generator →

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