#BEB931#BEB931

#BEB931 is a light, vivid yellow. Relative luminance 0.459; OKLCH L 76.7% C 0.149 H 107.3°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#BEB931
RGBrgb(190, 185, 49)
HSLhsl(58, 59%, 47%)
HSVhsv(58, 74%, 75%)
CMYKcmyk(0%, 2.6%, 74.2%, 25.5%)
CIE-LABlab(73.46, -13.61, 64.93)
CIE-LCHlch(73.46, 66.34, 101.84°)
OKLaboklab(76.65% -0.0444 0.1427)
OKLCHoklch(76.65% 0.149 107.3)
XYZxyz(39.1401, 45.8682, 9.6968)
Luminance0.4587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEB931 #3136BE
analogous
#BE7231 #BEB931 #7DBE31
triadic
#BEB931 #31BEB9 #B931BE
tetradic
#BEB931 #31BE72 #3136BE #BE317D
square
#BEB931 #31BE72 #3136BE #BE317D
split-complementary
#BEB931 #317DBE #7231BE
monochromatic
#5D5A18 #8D8A24 #BEB931 #D4D058 #E1DD89

Accessibility & contrast

On white

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

On black

10.17
#BEB931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEB931
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEB931#FFFFFF#000000##000000
##BEB9311.002.0610.1710.17
#FFFFFF2.061.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B214
Deuteranopia (green-blind)
#CBB73C
Tritanopia (blue-blind)
#CCAD9F
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #beb931;
/* rgb */ color: rgb(190, 185, 49);
/* oklch */ color: oklch(76.7% 0.149 107.3);
Tailwind
colors: {
  custom: {
    50: '#d5cd73',
    500: '#beb931',
    950: '#000000',
  },
}
SCSS
$custom: #beb931;
$custom-light: #d5cd73;
$custom-dark: #000000;
JSON
{
  "hex": "#beb931",
  "rgb": {
    "r": 190,
    "g": 185,
    "b": 49
  },
  "hsl": {
    "h": 57.872,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.76654,
    "c": 0.14943,
    "h": 107.3
  },
  "luminance": 0.45867
}

Semantic roles & 50–950 ramp

primary
#BEB931
secondary
#8083CA
accent
#4BE246
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BEB931

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

Preview Lab → · Contrast checker → · Palette generator →

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