#BEBA42#BEBA42

#BEBA42 is a light, vivid yellow. Relative luminance 0.465; OKLCH L 77.0% C 0.139 H 107.4°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#BEBA42
RGBrgb(190, 186, 66)
HSLhsl(58, 49%, 50%)
HSVhsv(58, 65%, 75%)
CMYKcmyk(0%, 2.1%, 65.3%, 25.5%)
CIE-LABlab(73.84, -13.25, 58.94)
CIE-LCHlch(73.84, 60.42, 102.67°)
OKLaboklab(76.99% -0.0417 0.133)
OKLCHoklch(76.99% 0.139 107.4)
XYZxyz(39.7789, 46.4596, 12.0254)
Luminance0.4646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEBA42 #4246BE
analogous
#BE7C42 #BEBA42 #84BE42
triadic
#BEBA42 #42BEBA #BA42BE
tetradic
#BEBA42 #42BE7C #4246BE #BE4284
square
#BEBA42 #42BE7C #4246BE #BE4284
split-complementary
#BEBA42 #4284BE #7C42BE
monochromatic
#636122 #918E32 #BEBA42 #CECB70 #DDDB9D

Accessibility & contrast

On white

2.04
#BEBA42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.29
#BEBA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEBA42
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEBA42#FFFFFF#000000##000000
##BEBA421.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B332
Deuteranopia (green-blind)
#CBB84A
Tritanopia (blue-blind)
#CBAEA1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #beba42;
/* rgb */ color: rgb(190, 186, 66);
/* oklch */ color: oklch(77.0% 0.139 107.4);
Tailwind
colors: {
  custom: {
    50: '#d5ce7d',
    500: '#beba42',
    950: '#000000',
  },
}
SCSS
$custom: #beba42;
$custom-light: #d5ce7d;
$custom-dark: #000000;
JSON
{
  "hex": "#beba42",
  "rgb": {
    "r": 190,
    "g": 186,
    "b": 66
  },
  "hsl": {
    "h": 58.065,
    "s": 48.819,
    "l": 50.196
  },
  "oklch": {
    "l": 0.76994,
    "c": 0.13935,
    "h": 107.4
  },
  "luminance": 0.46458
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BEBA42

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

Preview Lab → · Contrast checker → · Palette generator →

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