#BEBB38#BEBB38

#BEBB38 is a light, vivid yellow. Relative luminance 0.468; OKLCH L 77.1% C 0.147 H 108.1°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#BEBB38
RGBrgb(190, 187, 56)
HSLhsl(59, 54%, 48%)
HSVhsv(59, 71%, 75%)
CMYKcmyk(0%, 1.6%, 70.5%, 25.5%)
CIE-LABlab(74.05, -14.31, 63.02)
CIE-LCHlch(74.05, 64.63, 102.79°)
OKLaboklab(77.13% -0.0457 0.1399)
OKLCHoklch(77.13% 0.147 108.1)
XYZxyz(39.7208, 46.7746, 10.6767)
Luminance0.4677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEBB38 #383BBE
analogous
#BE7838 #BEBB38 #7EBE38
triadic
#BEBB38 #38BEBB #BB38BE
tetradic
#BEBB38 #38BE78 #383BBE #BE387E
square
#BEBB38 #38BE78 #383BBE #BE387E
split-complementary
#BEBB38 #387EBE #7838BE
monochromatic
#5F5E1C #8F8C2A #BEBB38 #D1CE62 #DFDD92

Accessibility & contrast

On white

2.03
#BEBB38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.35
#BEBB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEBB38
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEBB38#FFFFFF#000000##000000
##BEBB381.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB422
Deuteranopia (green-blind)
#CDB841
Tritanopia (blue-blind)
#CCAFA1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #bebb38;
/* rgb */ color: rgb(190, 187, 56);
/* oklch */ color: oklch(77.1% 0.147 108.1);
Tailwind
colors: {
  custom: {
    50: '#d5cf77',
    500: '#bebb38',
    950: '#000000',
  },
}
SCSS
$custom: #bebb38;
$custom-light: #d5cf77;
$custom-dark: #000000;
JSON
{
  "hex": "#bebb38",
  "rgb": {
    "r": 190,
    "g": 187,
    "b": 56
  },
  "hsl": {
    "h": 58.657,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.77134,
    "c": 0.14718,
    "h": 108.1
  },
  "luminance": 0.46773
}

Semantic roles & 50–950 ramp

primary
#BEBB38
secondary
#888ACA
accent
#4DDE4A
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#151309
muted
#83827B

Preview Lab

Preview with #BEBB38

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

Preview Lab → · Contrast checker → · Palette generator →

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