#B5BE2D#B5BE2D

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

Color values

HEX#B5BE2D
RGBrgb(181, 190, 45)
HSLhsl(64, 62%, 46%)
HSVhsv(64, 76%, 75%)
CMYKcmyk(4.7%, 0%, 76.3%, 25.5%)
CIE-LABlab(74.09, -20.15, 66.54)
CIE-LCHlch(74.09, 69.53, 106.85°)
OKLaboklab(76.97% -0.0625 0.1457)
OKLCHoklch(76.97% 0.159 113.2)
XYZxyz(37.9444, 46.8410, 9.5245)
Luminance0.4684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BE2D #362DBE
analogous
#BE7E2D #B5BE2D #6CBE2D
triadic
#B5BE2D #2DB5BE #BE2DB5
tetradic
#B5BE2D #2DBE7E #362DBE #BE2D6C
square
#B5BE2D #2DBE7E #362DBE #BE2D6C
split-complementary
#B5BE2D #2D6CBE #7E2DBE
monochromatic
#575B16 #868D21 #B5BE2D #CED652 #DCE284

Accessibility & contrast

On white

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

On black

10.37
#B5BE2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BE2D
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BE2D#FFFFFF#000000##000000
##B5BE2D1.002.0310.3710.37
#FFFFFF2.031.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5be2d;
/* rgb */ color: rgb(181, 190, 45);
/* oklch */ color: oklch(77.0% 0.159 113.2);
Tailwind
colors: {
  custom: {
    50: '#cfd172',
    500: '#b5be2d',
    950: '#000000',
  },
}
SCSS
$custom: #b5be2d;
$custom-light: #cfd172;
$custom-dark: #000000;
JSON
{
  "hex": "#b5be2d",
  "rgb": {
    "r": 181,
    "g": 190,
    "b": 45
  },
  "hsl": {
    "h": 63.724,
    "s": 61.702,
    "l": 46.078
  },
  "oklch": {
    "l": 0.76972,
    "c": 0.15855,
    "h": 113.2
  },
  "luminance": 0.4684
}

Semantic roles & 50–950 ramp

primary
#B5BE2D
secondary
#817CCB
accent
#43E54D
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B5BE2D

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

Preview Lab → · Contrast checker → · Palette generator →

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