#BEB838#BEB838

#BEB838 is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.5% C 0.144 H 106.7°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#BEB838
RGBrgb(190, 184, 56)
HSLhsl(57, 54%, 48%)
HSVhsv(57, 71%, 75%)
CMYKcmyk(0%, 3.2%, 70.5%, 25.5%)
CIE-LABlab(73.23, -12.78, 62.23)
CIE-LCHlch(73.23, 63.52, 101.60°)
OKLaboklab(76.48% -0.0414 0.1382)
OKLCHoklch(76.48% 0.144 106.7)
XYZxyz(39.0910, 45.5150, 10.4667)
Luminance0.4551 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEB838 #383EBE
analogous
#BE7538 #BEB838 #81BE38
triadic
#BEB838 #38BEB8 #B838BE
tetradic
#BEB838 #38BE75 #383EBE #BE3881
square
#BEB838 #38BE75 #383EBE #BE3881
split-complementary
#BEB838 #3881BE #7538BE
monochromatic
#5F5C1C #8F8A2A #BEB838 #D1CC62 #DFDB92

Accessibility & contrast

On white

2.08
#BEB838 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.10
#BEB838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEB838
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEB838#FFFFFF#000000##000000
##BEB8381.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B123
Deuteranopia (green-blind)
#CAB641
Tritanopia (blue-blind)
#CCAC9F
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #beb838;
/* rgb */ color: rgb(190, 184, 56);
/* oklch */ color: oklch(76.5% 0.144 106.7);
Tailwind
colors: {
  custom: {
    50: '#d5cd77',
    500: '#beb838',
    950: '#000000',
  },
}
SCSS
$custom: #beb838;
$custom-light: #d5cd77;
$custom-dark: #000000;
JSON
{
  "hex": "#beb838",
  "rgb": {
    "r": 190,
    "g": 184,
    "b": 56
  },
  "hsl": {
    "h": 57.313,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.76483,
    "c": 0.14429,
    "h": 106.7
  },
  "luminance": 0.45514
}

Semantic roles & 50–950 ramp

primary
#BEB838
secondary
#888BCA
accent
#51DE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #BEB838

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

Preview Lab → · Contrast checker → · Palette generator →

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