#BEB338#BEB338

#BEB338 is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.4% C 0.140 H 104.2°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#BEB338
RGBrgb(190, 179, 56)
HSLhsl(55, 54%, 48%)
HSVhsv(55, 71%, 75%)
CMYKcmyk(0%, 5.8%, 70.5%, 25.5%)
CIE-LABlab(71.88, -10.20, 60.90)
CIE-LCHlch(71.88, 61.74, 99.51°)
OKLaboklab(75.41% -0.0341 0.1354)
OKLCHoklch(75.41% 0.14 104.2)
XYZxyz(38.0707, 43.4744, 10.1266)
Luminance0.4347 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEB338 #3843BE
analogous
#BE7038 #BEB338 #86BE38
triadic
#BEB338 #38BEB3 #B338BE
tetradic
#BEB338 #38BE70 #3843BE #BE3886
square
#BEB338 #38BE70 #3843BE #BE3886
split-complementary
#BEB338 #3886BE #7038BE
monochromatic
#5F5A1C #8F862A #BEB338 #D1C862 #DFD892

Accessibility & contrast

On white

2.17
#BEB338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.69
#BEB338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEB338
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEB338#FFFFFF#000000##000000
##BEB3381.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD24
Deuteranopia (green-blind)
#C7B340
Tritanopia (blue-blind)
#CCA79B
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #beb338;
/* rgb */ color: rgb(190, 179, 56);
/* oklch */ color: oklch(75.4% 0.140 104.2);
Tailwind
colors: {
  custom: {
    50: '#d5c976',
    500: '#beb338',
    950: '#000000',
  },
}
SCSS
$custom: #beb338;
$custom-light: #d5c976;
$custom-dark: #000000;
JSON
{
  "hex": "#beb338",
  "rgb": {
    "r": 190,
    "g": 179,
    "b": 56
  },
  "hsl": {
    "h": 55.075,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.75405,
    "c": 0.13964,
    "h": 104.2
  },
  "luminance": 0.43473
}

Semantic roles & 50–950 ramp

primary
#BEB338
secondary
#888DCA
accent
#56DE4A
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BEB338

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

Preview Lab → · Contrast checker → · Palette generator →

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