#BEB942#BEB942

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

Color values

HEX#BEB942
RGBrgb(190, 185, 66)
HSLhsl(58, 49%, 50%)
HSVhsv(58, 65%, 75%)
CMYKcmyk(0%, 2.6%, 65.3%, 25.5%)
CIE-LABlab(73.57, -12.74, 58.66)
CIE-LCHlch(73.57, 60.03, 102.25°)
OKLaboklab(76.78% -0.0403 0.1324)
OKLCHoklch(76.78% 0.138 106.9)
XYZxyz(39.5689, 46.0397, 11.9554)
Luminance0.4604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEB942 #4247BE
analogous
#BE7B42 #BEB942 #85BE42
triadic
#BEB942 #42BEB9 #B942BE
tetradic
#BEB942 #42BE7B #4247BE #BE4285
square
#BEB942 #42BE7B #4247BE #BE4285
split-complementary
#BEB942 #4285BE #7B42BE
monochromatic
#636122 #918D32 #BEB942 #CECA70 #DDDB9D

Accessibility & contrast

On white

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

On black

10.21
#BEB942 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEB942
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEB942#FFFFFF#000000##000000
##BEB9421.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B232
Deuteranopia (green-blind)
#CBB749
Tritanopia (blue-blind)
#CBADA1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #beb942;
/* rgb */ color: rgb(190, 185, 66);
/* oklch */ color: oklch(76.8% 0.138 106.9);
Tailwind
colors: {
  custom: {
    50: '#d5cd7d',
    500: '#beb942',
    950: '#000000',
  },
}
SCSS
$custom: #beb942;
$custom-light: #d5cd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#beb942",
  "rgb": {
    "r": 190,
    "g": 185,
    "b": 66
  },
  "hsl": {
    "h": 57.581,
    "s": 48.819,
    "l": 50.196
  },
  "oklch": {
    "l": 0.76778,
    "c": 0.13836,
    "h": 106.9
  },
  "luminance": 0.46038
}

Semantic roles & 50–950 ramp

primary
#BEB942
secondary
#9294CA
accent
#55D84F
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BEB942

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

Preview Lab → · Contrast checker → · Palette generator →

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