#BEB538#BEB538

#BEB538 is a light, vivid yellow. Relative luminance 0.443; OKLCH L 75.8% C 0.141 H 105.2°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#BEB538
RGBrgb(190, 181, 56)
HSLhsl(56, 54%, 48%)
HSVhsv(56, 71%, 75%)
CMYKcmyk(0%, 4.7%, 70.5%, 25.5%)
CIE-LABlab(72.42, -11.24, 61.43)
CIE-LCHlch(72.42, 62.45, 100.37°)
OKLaboklab(75.84% -0.0371 0.1365)
OKLCHoklch(75.84% 0.141 105.2)
XYZxyz(38.4744, 44.2819, 10.2612)
Luminance0.4428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEB538 #3841BE
analogous
#BE7238 #BEB538 #84BE38
triadic
#BEB538 #38BEB5 #B538BE
tetradic
#BEB538 #38BE72 #3841BE #BE3884
square
#BEB538 #38BE72 #3841BE #BE3884
split-complementary
#BEB538 #3884BE #7238BE
monochromatic
#5F5B1C #8F882A #BEB538 #D1C962 #DFDA92

Accessibility & contrast

On white

2.13
#BEB538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.86
#BEB538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEB538
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEB538#FFFFFF#000000##000000
##BEB5381.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF24
Deuteranopia (green-blind)
#C8B441
Tritanopia (blue-blind)
#CCA99C
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #beb538;
/* rgb */ color: rgb(190, 181, 56);
/* oklch */ color: oklch(75.8% 0.141 105.2);
Tailwind
colors: {
  custom: {
    50: '#d5ca77',
    500: '#beb538',
    950: '#000000',
  },
}
SCSS
$custom: #beb538;
$custom-light: #d5ca77;
$custom-dark: #000000;
JSON
{
  "hex": "#beb538",
  "rgb": {
    "r": 190,
    "g": 181,
    "b": 56
  },
  "hsl": {
    "h": 55.97,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.75836,
    "c": 0.14147,
    "h": 105.2
  },
  "luminance": 0.4428
}

Semantic roles & 50–950 ramp

primary
#BEB538
secondary
#888CCA
accent
#54DE4A
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BEB538

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

Preview Lab → · Contrast checker → · Palette generator →

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