#BEBB52#BEBB52

#BEBB52 is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.4% C 0.127 H 107.5°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#BEBB52
RGBrgb(190, 187, 82)
HSLhsl(58, 45%, 53%)
HSVhsv(58, 57%, 75%)
CMYKcmyk(0%, 1.6%, 56.8%, 25.5%)
CIE-LABlab(74.25, -12.68, 52.46)
CIE-LCHlch(74.25, 53.97, 103.59°)
OKLaboklab(77.36% -0.0383 0.1214)
OKLCHoklch(77.36% 0.127 107.5)
XYZxyz(40.5297, 47.0982, 14.9369)
Luminance0.4710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEBB52 #5255BE
analogous
#BE8552 #BEBB52 #8BBE52
triadic
#BEBB52 #52BEBB #BB52BE
tetradic
#BEBB52 #52BE85 #5255BE #BE528B
square
#BEBB52 #52BE85 #5255BE #BE528B
split-complementary
#BEBB52 #528BBE #8552BE
monochromatic
#6D6B29 #99973A #BEBB52 #CFCC7E #DFDEAB

Accessibility & contrast

On white

2.02
#BEBB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.42
#BEBB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEBB52
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEBB52#FFFFFF#000000##000000
##BEBB521.002.0210.4210.42
#FFFFFF2.021.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B447
Deuteranopia (green-blind)
#CBB958
Tritanopia (blue-blind)
#CAB0A4
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #bebb52;
/* rgb */ color: rgb(190, 187, 82);
/* oklch */ color: oklch(77.4% 0.127 107.5);
Tailwind
colors: {
  custom: {
    50: '#d4cf86',
    500: '#bebb52',
    950: '#000000',
  },
}
SCSS
$custom: #bebb52;
$custom-light: #d4cf86;
$custom-dark: #000000;
JSON
{
  "hex": "#bebb52",
  "rgb": {
    "r": 190,
    "g": 187,
    "b": 82
  },
  "hsl": {
    "h": 58.333,
    "s": 45.378,
    "l": 53.333
  },
  "oklch": {
    "l": 0.77365,
    "c": 0.12734,
    "h": 107.5
  },
  "luminance": 0.47097
}

Semantic roles & 50–950 ramp

primary
#BEBB52
secondary
#9FA0CD
accent
#56D553
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14130B
muted
#83827C

Preview Lab

Preview with #BEBB52

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

Preview Lab → · Contrast checker → · Palette generator →

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