#BEBA23#BEBA23

#BEBA23 is a light, vivid yellow. Relative luminance 0.462; OKLCH L 76.8% C 0.157 H 107.9°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#BEBA23
RGBrgb(190, 186, 35)
HSLhsl(58, 69%, 44%)
HSVhsv(58, 82%, 75%)
CMYKcmyk(0%, 2.1%, 81.6%, 25.5%)
CIE-LABlab(73.67, -14.64, 69.31)
CIE-LCHlch(73.67, 70.83, 101.92°)
OKLaboklab(76.8% -0.0484 0.1495)
OKLCHoklch(76.8% 0.157 107.9)
XYZxyz(39.0991, 46.1877, 8.4453)
Luminance0.4619 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEBA23 #2327BE
analogous
#BE6D23 #BEBA23 #74BE23
triadic
#BEBA23 #23BEBA #BA23BE
tetradic
#BEBA23 #23BE6D #2327BE #BE2374
square
#BEBA23 #23BE6D #2327BE #BE2374
split-complementary
#BEBA23 #2374BE #6D23BE
monochromatic
#575510 #8A8719 #BEBA23 #DCD842 #E6E376

Accessibility & contrast

On white

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

On black

10.24
#BEBA23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEBA23
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEBA23#FFFFFF#000000##000000
##BEBA231.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB200
Deuteranopia (green-blind)
#CDB731
Tritanopia (blue-blind)
#CCAD9F
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #beba23;
/* rgb */ color: rgb(190, 186, 35);
/* oklch */ color: oklch(76.8% 0.157 107.9);
Tailwind
colors: {
  custom: {
    50: '#d6ce6e',
    500: '#beba23',
    950: '#000000',
  },
}
SCSS
$custom: #beba23;
$custom-light: #d6ce6e;
$custom-dark: #000000;
JSON
{
  "hex": "#beba23",
  "rgb": {
    "r": 190,
    "g": 186,
    "b": 35
  },
  "hsl": {
    "h": 58.452,
    "s": 68.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.76798,
    "c": 0.15711,
    "h": 107.9
  },
  "luminance": 0.46186
}

Semantic roles & 50–950 ramp

primary
#BEBA23
secondary
#7072CD
accent
#41EC3C
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BEBA23

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

Preview Lab → · Contrast checker → · Palette generator →

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