#BEB540#BEB540

#BEB540 is a light, vivid yellow. Relative luminance 0.444; OKLCH L 75.9% C 0.136 H 104.9°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#BEB540
RGBrgb(190, 181, 64)
HSLhsl(56, 50%, 50%)
HSVhsv(56, 66%, 75%)
CMYKcmyk(0%, 4.7%, 66.3%, 25.5%)
CIE-LABlab(72.47, -10.80, 58.34)
CIE-LCHlch(72.47, 59.34, 100.49°)
OKLaboklab(75.9% -0.035 0.1314)
OKLCHoklch(75.9% 0.136 104.9)
XYZxyz(38.6860, 44.3665, 11.3753)
Luminance0.4436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEB540 #4049BE
analogous
#BE7640 #BEB540 #88BE40
triadic
#BEB540 #40BEB5 #B540BE
tetradic
#BEB540 #40BE76 #4049BE #BE4088
square
#BEB540 #40BE76 #4049BE #BE4088
split-complementary
#BEB540 #4088BE #7640BE
monochromatic
#625E21 #908931 #BEB540 #CEC76D #DDD99B

Accessibility & contrast

On white

2.13
#BEB540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#BEB540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEB540
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEB540#FFFFFF#000000##000000
##BEB5401.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF30
Deuteranopia (green-blind)
#C8B447
Tritanopia (blue-blind)
#CCA99D
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #beb540;
/* rgb */ color: rgb(190, 181, 64);
/* oklch */ color: oklch(75.9% 0.136 104.9);
Tailwind
colors: {
  custom: {
    50: '#d5ca7b',
    500: '#beb540',
    950: '#000000',
  },
}
SCSS
$custom: #beb540;
$custom-light: #d5ca7b;
$custom-dark: #000000;
JSON
{
  "hex": "#beb540",
  "rgb": {
    "r": 190,
    "g": 181,
    "b": 64
  },
  "hsl": {
    "h": 55.714,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.75898,
    "c": 0.13596,
    "h": 104.9
  },
  "luminance": 0.44365
}

Semantic roles & 50–950 ramp

primary
#BEB540
secondary
#9094C9
accent
#59D94F
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BEB540

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

Preview Lab → · Contrast checker → · Palette generator →

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