#BEB831#BEB831

#BEB831 is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.4% C 0.148 H 106.8°. Best body text is #000000 at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#BEB831
RGBrgb(190, 184, 49)
HSLhsl(57, 59%, 47%)
HSVhsv(57, 74%, 75%)
CMYKcmyk(0%, 3.2%, 74.2%, 25.5%)
CIE-LABlab(73.19, -13.10, 64.67)
CIE-LCHlch(73.19, 65.99, 101.45°)
OKLaboklab(76.44% -0.043 0.1421)
OKLCHoklch(76.44% 0.148 106.8)
XYZxyz(38.9316, 45.4513, 9.6274)
Luminance0.4545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEB831 #3137BE
analogous
#BE7231 #BEB831 #7EBE31
triadic
#BEB831 #31BEB8 #B831BE
tetradic
#BEB831 #31BE72 #3137BE #BE317E
square
#BEB831 #31BE72 #3137BE #BE317E
split-complementary
#BEB831 #317EBE #7231BE
monochromatic
#5D5A18 #8D8924 #BEB831 #D4CF58 #E1DD89

Accessibility & contrast

On white

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

On black

10.09
#BEB831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEB831
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEB831#FFFFFF#000000##000000
##BEB8311.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B115
Deuteranopia (green-blind)
#CBB63B
Tritanopia (blue-blind)
#CCAC9E
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #beb831;
/* rgb */ color: rgb(190, 184, 49);
/* oklch */ color: oklch(76.4% 0.148 106.8);
Tailwind
colors: {
  custom: {
    50: '#d5cd73',
    500: '#beb831',
    950: '#000000',
  },
}
SCSS
$custom: #beb831;
$custom-light: #d5cd73;
$custom-dark: #000000;
JSON
{
  "hex": "#beb831",
  "rgb": {
    "r": 190,
    "g": 184,
    "b": 49
  },
  "hsl": {
    "h": 57.447,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.76437,
    "c": 0.14849,
    "h": 106.8
  },
  "luminance": 0.4545
}

Semantic roles & 50–950 ramp

primary
#BEB831
secondary
#8084CA
accent
#4CE246
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BEB831

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

Preview Lab → · Contrast checker → · Palette generator →

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