#B5BE52#B5BE52

#B5BE52 is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.3% C 0.132 H 113.5°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#B5BE52
RGBrgb(181, 190, 82)
HSLhsl(65, 45%, 53%)
HSVhsv(65, 57%, 75%)
CMYKcmyk(4.7%, 0%, 56.8%, 25.5%)
CIE-LABlab(74.36, -17.94, 52.38)
CIE-LCHlch(74.36, 55.37, 108.91°)
OKLaboklab(77.27% -0.0527 0.1214)
OKLCHoklch(77.27% 0.132 113.5)
XYZxyz(38.9933, 47.2606, 15.0491)
Luminance0.4726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BE52 #5B52BE
analogous
#BE9152 #B5BE52 #7FBE52
triadic
#B5BE52 #52B5BE #BE52B5
tetradic
#B5BE52 #52BE91 #5B52BE #BE527F
square
#B5BE52 #52BE91 #5B52BE #BE527F
split-complementary
#B5BE52 #527FBE #9152BE
monochromatic
#676D29 #91993A #B5BE52 #C8CF7E #DBDFAB

Accessibility & contrast

On white

2.01
#B5BE52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.45
#B5BE52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BE52
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BE52#FFFFFF#000000##000000
##B5BE521.002.0110.4510.45
#FFFFFF2.011.0021.0021.00
#00000010.4521.001.001.00
##00000010.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB647
Deuteranopia (green-blind)
#CAB858
Tritanopia (blue-blind)
#C0B4A6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b5be52;
/* rgb */ color: rgb(181, 190, 82);
/* oklch */ color: oklch(77.3% 0.132 113.5);
Tailwind
colors: {
  custom: {
    50: '#cdd186',
    500: '#b5be52',
    950: '#000000',
  },
}
SCSS
$custom: #b5be52;
$custom-light: #cdd186;
$custom-dark: #000000;
JSON
{
  "hex": "#b5be52",
  "rgb": {
    "r": 181,
    "g": 190,
    "b": 82
  },
  "hsl": {
    "h": 65,
    "s": 45.378,
    "l": 53.333
  },
  "oklch": {
    "l": 0.77272,
    "c": 0.13239,
    "h": 113.5
  },
  "luminance": 0.4726
}

Semantic roles & 50–950 ramp

primary
#B5BE52
secondary
#A39FCD
accent
#53D55E
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#14140B
muted
#82827C

Preview Lab

Preview with #B5BE52

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

Preview Lab → · Contrast checker → · Palette generator →

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