#B5BE2A#B5BE2A

#B5BE2A 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#B5BE2A
RGBrgb(181, 190, 42)
HSLhsl(64, 64%, 45%)
HSVhsv(64, 78%, 75%)
CMYKcmyk(4.7%, 0%, 77.9%, 25.5%)
CIE-LABlab(74.07, -20.27, 67.44)
CIE-LCHlch(74.07, 70.42, 106.73°)
OKLaboklab(76.96% -0.0631 0.1471)
OKLCHoklch(76.96% 0.16 113.2)
XYZxyz(37.8887, 46.8187, 9.2311)
Luminance0.4682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BE2A #332ABE
analogous
#BE7D2A #B5BE2A #6BBE2A
triadic
#B5BE2A #2AB5BE #BE2AB5
tetradic
#B5BE2A #2ABE7D #332ABE #BE2A6B
square
#B5BE2A #2ABE7D #332ABE #BE2A6B
split-complementary
#B5BE2A #2A6BBE #7D2ABE
monochromatic
#565A14 #858C1F #B5BE2A #CFD84D #DDE380

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5BE2A#FFFFFF#000000##000000
##B5BE2A1.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)
#C2B2A3
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b5be2a;
/* rgb */ color: rgb(181, 190, 42);
/* oklch */ color: oklch(77.0% 0.160 113.2);
Tailwind
colors: {
  custom: {
    50: '#cfd171',
    500: '#b5be2a',
    950: '#000000',
  },
}
SCSS
$custom: #b5be2a;
$custom-light: #cfd171;
$custom-dark: #000000;
JSON
{
  "hex": "#b5be2a",
  "rgb": {
    "r": 181,
    "g": 190,
    "b": 42
  },
  "hsl": {
    "h": 63.649,
    "s": 63.793,
    "l": 45.49
  },
  "oklch": {
    "l": 0.76956,
    "c": 0.16004,
    "h": 113.2
  },
  "luminance": 0.46818
}

Semantic roles & 50–950 ramp

primary
#B5BE2A
secondary
#7D78CB
accent
#41E74B
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B

Preview Lab

Preview with #B5BE2A

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

Preview Lab → · Contrast checker → · Palette generator →

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