#BEB945#BEB945

#BEB945 is a light, vivid yellow. Relative luminance 0.461; OKLCH L 76.8% C 0.136 H 106.8°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#BEB945
RGBrgb(190, 185, 69)
HSLhsl(58, 48%, 51%)
HSVhsv(58, 64%, 75%)
CMYKcmyk(0%, 2.6%, 63.7%, 25.5%)
CIE-LABlab(73.59, -12.56, 57.44)
CIE-LCHlch(73.59, 58.80, 102.33°)
OKLaboklab(76.8% -0.0394 0.1303)
OKLCHoklch(76.8% 0.136 106.8)
XYZxyz(39.6597, 46.0760, 12.4335)
Luminance0.4607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEB945 #454ABE
analogous
#BE7C45 #BEB945 #86BE45
triadic
#BEB945 #45BEB9 #B945BE
tetradic
#BEB945 #45BE7C #454ABE #BE4586
square
#BEB945 #45BE7C #454ABE #BE4586
split-complementary
#BEB945 #4586BE #7C45BE
monochromatic
#656323 #938F33 #BEB945 #CECA72 #DEDBA0

Accessibility & contrast

On white

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

On black

10.22
#BEB945 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEB945
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEB945#FFFFFF#000000##000000
##BEB9451.002.0610.2210.22
#FFFFFF2.061.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #beb945;
/* rgb */ color: rgb(190, 185, 69);
/* oklch */ color: oklch(76.8% 0.136 106.8);
Tailwind
colors: {
  custom: {
    50: '#d5cd7e',
    500: '#beb945',
    950: '#000000',
  },
}
SCSS
$custom: #beb945;
$custom-light: #d5cd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#beb945",
  "rgb": {
    "r": 190,
    "g": 185,
    "b": 69
  },
  "hsl": {
    "h": 57.521,
    "s": 48.207,
    "l": 50.784
  },
  "oklch": {
    "l": 0.76804,
    "c": 0.13609,
    "h": 106.8
  },
  "luminance": 0.46075
}

Semantic roles & 50–950 ramp

primary
#BEB945
secondary
#9597CA
accent
#56D850
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BEB945

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

Preview Lab → · Contrast checker → · Palette generator →

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