#B5BE21#B5BE21

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

Color values

HEX#B5BE21
RGBrgb(181, 190, 33)
HSLhsl(63, 70%, 44%)
HSVhsv(63, 83%, 75%)
CMYKcmyk(4.7%, 0%, 82.6%, 25.5%)
CIE-LABlab(74.04, -20.57, 69.84)
CIE-LCHlch(74.04, 72.81, 106.41°)
OKLaboklab(76.92% -0.0645 0.1507)
OKLCHoklch(76.92% 0.164 113.2)
XYZxyz(37.7453, 46.7613, 8.4761)
Luminance0.4676 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BE21 #2A21BE
analogous
#BE7821 #B5BE21 #67BE21
triadic
#B5BE21 #21B5BE #BE21B5
tetradic
#B5BE21 #21BE78 #2A21BE #BE2167
square
#B5BE21 #21BE78 #2A21BE #BE2167
split-complementary
#B5BE21 #2167BE #7821BE
monochromatic
#52560F #838A18 #B5BE21 #D4DE3F #E0E773

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5BE21#FFFFFF#000000##000000
##B5BE211.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)
#CDB500
Deuteranopia (green-blind)
#CDB832
Tritanopia (blue-blind)
#C2B2A2
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b5be21;
/* rgb */ color: rgb(181, 190, 33);
/* oklch */ color: oklch(76.9% 0.164 113.2);
Tailwind
colors: {
  custom: {
    50: '#cfd16d',
    500: '#b5be21',
    950: '#000000',
  },
}
SCSS
$custom: #b5be21;
$custom-light: #cfd16d;
$custom-dark: #000000;
JSON
{
  "hex": "#b5be21",
  "rgb": {
    "r": 181,
    "g": 190,
    "b": 33
  },
  "hsl": {
    "h": 63.439,
    "s": 70.404,
    "l": 43.725
  },
  "oklch": {
    "l": 0.76915,
    "c": 0.16392,
    "h": 113.2
  },
  "luminance": 0.4676
}

Semantic roles & 50–950 ramp

primary
#B5BE21
secondary
#736DCD
accent
#3BED45
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B

Preview Lab

Preview with #B5BE21

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

Preview Lab → · Contrast checker → · Palette generator →

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