#BEB951#BEB951

#BEB951 is a light, vivid yellow. Relative luminance 0.462; OKLCH L 76.9% C 0.126 H 106.5°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#BEB951
RGBrgb(190, 185, 81)
HSLhsl(57, 46%, 53%)
HSVhsv(57, 57%, 75%)
CMYKcmyk(0%, 2.6%, 57.4%, 25.5%)
CIE-LABlab(73.70, -11.73, 52.30)
CIE-LCHlch(73.70, 53.60, 102.64°)
OKLaboklab(76.92% -0.0357 0.121)
OKLCHoklch(76.92% 0.126 106.5)
XYZxyz(40.0706, 46.2404, 14.5975)
Luminance0.4624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEB951 #5156BE
analogous
#BE8251 #BEB951 #8CBE51
triadic
#BEB951 #51BEB9 #B951BE
tetradic
#BEB951 #51BE82 #5156BE #BE518C
square
#BEB951 #51BE82 #5156BE #BE518C
split-complementary
#BEB951 #518CBE #8251BE
monochromatic
#6C6928 #999439 #BEB951 #CFCB7E #DFDDAA

Accessibility & contrast

On white

2.05
#BEB951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.25
#BEB951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEB951
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEB951#FFFFFF#000000##000000
##BEB9511.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B346
Deuteranopia (green-blind)
#CAB757
Tritanopia (blue-blind)
#CBAEA2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #beb951;
/* rgb */ color: rgb(190, 185, 81);
/* oklch */ color: oklch(76.9% 0.126 106.5);
Tailwind
colors: {
  custom: {
    50: '#d4cd86',
    500: '#beb951',
    950: '#000000',
  },
}
SCSS
$custom: #beb951;
$custom-light: #d4cd86;
$custom-dark: #000000;
JSON
{
  "hex": "#beb951",
  "rgb": {
    "r": 190,
    "g": 185,
    "b": 81
  },
  "hsl": {
    "h": 57.248,
    "s": 45.607,
    "l": 53.137
  },
  "oklch": {
    "l": 0.76923,
    "c": 0.12613,
    "h": 106.5
  },
  "luminance": 0.46239
}

Semantic roles & 50–950 ramp

primary
#BEB951
secondary
#9EA0CD
accent
#59D553
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14130B
muted
#83827C

Preview Lab

Preview with #BEB951

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

Preview Lab → · Contrast checker → · Palette generator →

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