#BEBF40#BEBF40

#BEBF40 is a light, vivid yellow. Relative luminance 0.486; OKLCH L 78.1% C 0.146 H 109.8°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#BEBF40
RGBrgb(190, 191, 64)
HSLhsl(60, 50%, 50%)
HSVhsv(60, 66%, 75%)
CMYKcmyk(0.5%, 0%, 66.5%, 25.1%)
CIE-LABlab(75.19, -15.90, 61.13)
CIE-LCHlch(75.19, 63.16, 104.58°)
OKLaboklab(78.06% -0.0494 0.1373)
OKLCHoklch(78.06% 0.146 109.8)
XYZxyz(40.7928, 48.5801, 12.0775)
Luminance0.4858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEBF40 #4140BF
analogous
#BF8040 #BEBF40 #7FBF40
triadic
#BEBF40 #40BEBF #BF40BE
tetradic
#BEBF40 #40BF80 #4140BF #BF407F
square
#BEBF40 #40BF80 #4140BF #BF407F
split-complementary
#BEBF40 #407FBF #8040BF
monochromatic
#636321 #909131 #BEBF40 #CECE6E #DDDE9C

Accessibility & contrast

On white

1.96
#BEBF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.72
#BEBF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEBF40
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEBF40#FFFFFF#000000##000000
##BEBF401.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB72E
Deuteranopia (green-blind)
#CFBB49
Tritanopia (blue-blind)
#CBB3A5
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #bebf40;
/* rgb */ color: rgb(190, 191, 64);
/* oklch */ color: oklch(78.1% 0.146 109.8);
Tailwind
colors: {
  custom: {
    50: '#d5d27c',
    500: '#bebf40',
    950: '#000000',
  },
}
SCSS
$custom: #bebf40;
$custom-light: #d5d27c;
$custom-dark: #000000;
JSON
{
  "hex": "#bebf40",
  "rgb": {
    "r": 190,
    "g": 191,
    "b": 64
  },
  "hsl": {
    "h": 60.472,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.78064,
    "c": 0.14587,
    "h": 109.8
  },
  "luminance": 0.48579
}

Semantic roles & 50–950 ramp

primary
#BEBF40
secondary
#9191CA
accent
#4ED950
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #BEBF40

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

Preview Lab → · Contrast checker → · Palette generator →

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