#BEB040#BEB040

#BEB040 is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.8% C 0.131 H 102.1°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#BEB040
RGBrgb(190, 176, 64)
HSLhsl(53, 50%, 50%)
HSVhsv(53, 66%, 75%)
CMYKcmyk(0%, 7.4%, 66.3%, 25.5%)
CIE-LABlab(71.12, -8.21, 56.95)
CIE-LCHlch(71.12, 57.54, 98.20°)
OKLaboklab(74.83% -0.0276 0.1284)
OKLCHoklch(74.83% 0.131 102.1)
XYZxyz(37.6875, 42.3695, 11.0425)
Luminance0.4237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEB040 #404EBE
analogous
#BE7140 #BEB040 #8DBE40
triadic
#BEB040 #40BEB0 #B040BE
tetradic
#BEB040 #40BE71 #404EBE #BE408D
square
#BEB040 #40BE71 #404EBE #BE408D
split-complementary
#BEB040 #408DBE #7140BE
monochromatic
#625B21 #908631 #BEB040 #CEC36D #DDD69B

Accessibility & contrast

On white

2.22
#BEB040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#BEB040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEB040
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEB040#FFFFFF#000000##000000
##BEB0401.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB31
Deuteranopia (green-blind)
#C4B147
Tritanopia (blue-blind)
#CCA499
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #beb040;
/* rgb */ color: rgb(190, 176, 64);
/* oklch */ color: oklch(74.8% 0.131 102.1);
Tailwind
colors: {
  custom: {
    50: '#d5c77b',
    500: '#beb040',
    950: '#000000',
  },
}
SCSS
$custom: #beb040;
$custom-light: #d5c77b;
$custom-dark: #000000;
JSON
{
  "hex": "#beb040",
  "rgb": {
    "r": 190,
    "g": 176,
    "b": 64
  },
  "hsl": {
    "h": 53.333,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.74827,
    "c": 0.13137,
    "h": 102.1
  },
  "luminance": 0.42368
}

Semantic roles & 50–950 ramp

primary
#BEB040
secondary
#9097C9
accent
#5ED94F
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BEB040

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

Preview Lab → · Contrast checker → · Palette generator →

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