#BEB952#BEB952

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

Color values

HEX#BEB952
RGBrgb(190, 185, 82)
HSLhsl(57, 45%, 53%)
HSVhsv(57, 57%, 75%)
CMYKcmyk(0%, 2.6%, 56.8%, 25.5%)
CIE-LABlab(73.71, -11.65, 51.85)
CIE-LCHlch(73.71, 53.14, 102.67°)
OKLaboklab(76.93% -0.0354 0.1201)
OKLCHoklch(76.93% 0.125 106.4)
XYZxyz(40.1084, 46.2555, 14.7964)
Luminance0.4625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEB952 #5257BE
analogous
#BE8352 #BEB952 #8DBE52
triadic
#BEB952 #52BEB9 #B952BE
tetradic
#BEB952 #52BE83 #5257BE #BE528D
square
#BEB952 #52BE83 #5257BE #BE528D
split-complementary
#BEB952 #528DBE #8352BE
monochromatic
#6D6A29 #99953A #BEB952 #CFCB7E #DFDDAB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BEB952#FFFFFF#000000##000000
##BEB9521.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)
#C7B347
Deuteranopia (green-blind)
#CAB758
Tritanopia (blue-blind)
#CBAEA2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #beb952;
/* rgb */ color: rgb(190, 185, 82);
/* oklch */ color: oklch(76.9% 0.125 106.4);
Tailwind
colors: {
  custom: {
    50: '#d4cd86',
    500: '#beb952',
    950: '#000000',
  },
}
SCSS
$custom: #beb952;
$custom-light: #d4cd86;
$custom-dark: #000000;
JSON
{
  "hex": "#beb952",
  "rgb": {
    "r": 190,
    "g": 185,
    "b": 82
  },
  "hsl": {
    "h": 57.222,
    "s": 45.378,
    "l": 53.333
  },
  "oklch": {
    "l": 0.76934,
    "c": 0.12524,
    "h": 106.4
  },
  "luminance": 0.46254
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BEB952

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

Preview Lab → · Contrast checker → · Palette generator →

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