#BEB940#BEB940

#BEB940 is a light, vivid yellow. Relative luminance 0.460; OKLCH L 76.8% C 0.140 H 107.0°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#BEB940
RGBrgb(190, 185, 64)
HSLhsl(58, 50%, 50%)
HSVhsv(58, 66%, 75%)
CMYKcmyk(0%, 2.6%, 66.3%, 25.5%)
CIE-LABlab(73.56, -12.86, 59.46)
CIE-LCHlch(73.56, 60.83, 102.20°)
OKLaboklab(76.76% -0.0408 0.1337)
OKLCHoklch(76.76% 0.14 107)
XYZxyz(39.5110, 46.0165, 11.6503)
Luminance0.4602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEB940 #4045BE
analogous
#BE7A40 #BEB940 #84BE40
triadic
#BEB940 #40BEB9 #B940BE
tetradic
#BEB940 #40BE7A #4045BE #BE4084
square
#BEB940 #40BE7A #4045BE #BE4084
split-complementary
#BEB940 #4084BE #7A40BE
monochromatic
#626021 #908C31 #BEB940 #CECA6D #DDDB9B

Accessibility & contrast

On white

2.06
#BEB940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.20
#BEB940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEB940
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEB940#FFFFFF#000000##000000
##BEB9401.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B22F
Deuteranopia (green-blind)
#CBB748
Tritanopia (blue-blind)
#CBADA0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #beb940;
/* rgb */ color: rgb(190, 185, 64);
/* oklch */ color: oklch(76.8% 0.140 107.0);
Tailwind
colors: {
  custom: {
    50: '#d5cd7b',
    500: '#beb940',
    950: '#000000',
  },
}
SCSS
$custom: #beb940;
$custom-light: #d5cd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#beb940",
  "rgb": {
    "r": 190,
    "g": 185,
    "b": 64
  },
  "hsl": {
    "h": 57.619,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.76761,
    "c": 0.13982,
    "h": 107
  },
  "luminance": 0.46015
}

Semantic roles & 50–950 ramp

primary
#BEB940
secondary
#9093C9
accent
#54D94F
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BEB940

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

Preview Lab → · Contrast checker → · Palette generator →

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