#BEB731#BEB731

#BEB731 is a light, vivid yellow. Relative luminance 0.450; OKLCH L 76.2% C 0.148 H 106.4°. Best body text is #000000 at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#BEB731
RGBrgb(190, 183, 49)
HSLhsl(57, 59%, 47%)
HSVhsv(57, 74%, 75%)
CMYKcmyk(0%, 3.7%, 74.2%, 25.5%)
CIE-LABlab(72.92, -12.59, 64.42)
CIE-LCHlch(72.92, 65.64, 101.06°)
OKLaboklab(76.22% -0.0416 0.1416)
OKLCHoklch(76.22% 0.148 106.4)
XYZxyz(38.7246, 45.0373, 9.5584)
Luminance0.4504 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEB731 #3138BE
analogous
#BE7031 #BEB731 #7FBE31
triadic
#BEB731 #31BEB7 #B731BE
tetradic
#BEB731 #31BE70 #3138BE #BE317F
square
#BEB731 #31BE70 #3138BE #BE317F
split-complementary
#BEB731 #317FBE #7031BE
monochromatic
#5D5918 #8D8824 #BEB731 #D4CE58 #E1DC89

Accessibility & contrast

On white

2.10
#BEB731 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.01
#BEB731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEB731
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEB731#FFFFFF#000000##000000
##BEB7311.002.1010.0110.01
#FFFFFF2.101.0021.0021.00
#00000010.0121.001.001.00
##00000010.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B015
Deuteranopia (green-blind)
#CAB53B
Tritanopia (blue-blind)
#CCAB9D
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #beb731;
/* rgb */ color: rgb(190, 183, 49);
/* oklch */ color: oklch(76.2% 0.148 106.4);
Tailwind
colors: {
  custom: {
    50: '#d5cc73',
    500: '#beb731',
    950: '#000000',
  },
}
SCSS
$custom: #beb731;
$custom-light: #d5cc73;
$custom-dark: #000000;
JSON
{
  "hex": "#beb731",
  "rgb": {
    "r": 190,
    "g": 183,
    "b": 49
  },
  "hsl": {
    "h": 57.021,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.7622,
    "c": 0.14756,
    "h": 106.4
  },
  "luminance": 0.45036
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BEB731

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

Preview Lab → · Contrast checker → · Palette generator →

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