#BEB331#BEB331

#BEB331 is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.4% C 0.144 H 104.4°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#BEB331
RGBrgb(190, 179, 49)
HSLhsl(55, 59%, 47%)
HSVhsv(55, 74%, 75%)
CMYKcmyk(0%, 5.8%, 74.2%, 25.5%)
CIE-LABlab(71.83, -10.53, 63.40)
CIE-LCHlch(71.83, 64.27, 99.43°)
OKLaboklab(75.36% -0.0358 0.1394)
OKLCHoklch(75.36% 0.144 104.4)
XYZxyz(37.9113, 43.4106, 9.2873)
Luminance0.4341 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEB331 #313CBE
analogous
#BE6D31 #BEB331 #83BE31
triadic
#BEB331 #31BEB3 #B331BE
tetradic
#BEB331 #31BE6D #313CBE #BE3183
square
#BEB331 #31BE6D #313CBE #BE3183
split-complementary
#BEB331 #3183BE #6D31BE
monochromatic
#5D5718 #8D8524 #BEB331 #D4CA58 #E1DA89

Accessibility & contrast

On white

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

On black

9.68
#BEB331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEB331
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEB331#FFFFFF#000000##000000
##BEB3311.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD17
Deuteranopia (green-blind)
#C7B33B
Tritanopia (blue-blind)
#CCA69A
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #beb331;
/* rgb */ color: rgb(190, 179, 49);
/* oklch */ color: oklch(75.4% 0.144 104.4);
Tailwind
colors: {
  custom: {
    50: '#d5c973',
    500: '#beb331',
    950: '#000000',
  },
}
SCSS
$custom: #beb331;
$custom-light: #d5c973;
$custom-dark: #000000;
JSON
{
  "hex": "#beb331",
  "rgb": {
    "r": 190,
    "g": 179,
    "b": 49
  },
  "hsl": {
    "h": 55.319,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.75357,
    "c": 0.14394,
    "h": 104.4
  },
  "luminance": 0.43409
}

Semantic roles & 50–950 ramp

primary
#BEB331
secondary
#8086CA
accent
#52E246
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BEB331

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

Preview Lab → · Contrast checker → · Palette generator →

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