#BEBA2F#BEBA2F

#BEBA2F is a light, vivid yellow. Relative luminance 0.463; OKLCH L 76.9% C 0.151 H 107.8°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#BEBA2F
RGBrgb(190, 186, 47)
HSLhsl(58, 60%, 46%)
HSVhsv(58, 75%, 75%)
CMYKcmyk(0%, 2.1%, 75.3%, 25.5%)
CIE-LABlab(73.72, -14.21, 65.83)
CIE-LCHlch(73.72, 67.35, 102.18°)
OKLaboklab(76.86% -0.0463 0.1442)
OKLCHoklch(76.86% 0.151 107.8)
XYZxyz(39.3088, 46.2715, 9.5495)
Luminance0.4627 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEBA2F #2F33BE
analogous
#BE732F #BEBA2F #7BBE2F
triadic
#BEBA2F #2FBEBA #BA2FBE
tetradic
#BEBA2F #2FBE73 #2F33BE #BE2F7B
square
#BEBA2F #2FBE73 #2F33BE #BE2F7B
split-complementary
#BEBA2F #2F7BBE #732FBE
monochromatic
#5C5A17 #8D8A23 #BEBA2F #D5D155 #E1DF86

Accessibility & contrast

On white

2.05
#BEBA2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.25
#BEBA2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEBA2F
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEBA2F#FFFFFF#000000##000000
##BEBA2F1.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB20E
Deuteranopia (green-blind)
#CCB73A
Tritanopia (blue-blind)
#CCAEA0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #beba2f;
/* rgb */ color: rgb(190, 186, 47);
/* oklch */ color: oklch(76.9% 0.151 107.8);
Tailwind
colors: {
  custom: {
    50: '#d5ce73',
    500: '#beba2f',
    950: '#000000',
  },
}
SCSS
$custom: #beba2f;
$custom-light: #d5ce73;
$custom-dark: #000000;
JSON
{
  "hex": "#beba2f",
  "rgb": {
    "r": 190,
    "g": 186,
    "b": 47
  },
  "hsl": {
    "h": 58.322,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.76859,
    "c": 0.15147,
    "h": 107.8
  },
  "luminance": 0.4627
}

Semantic roles & 50–950 ramp

primary
#BEBA2F
secondary
#7E80CB
accent
#49E344
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BEBA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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