#FBEF54#FBEF54

#FBEF54 is a very light, vivid yellow. Relative luminance 0.829; OKLCH L 93.5% C 0.170 H 104.9°. Best body text is #000000 at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#FBEF54
RGBrgb(251, 239, 84)
HSLhsl(56, 95%, 66%)
HSVhsv(56, 67%, 98%)
CMYKcmyk(0%, 4.8%, 66.5%, 1.6%)
CIE-LABlab(92.96, -13.35, 73.09)
CIE-LCHlch(92.96, 74.30, 100.35°)
OKLaboklab(93.48% -0.0436 0.1639)
OKLCHoklch(93.48% 0.17 104.9)
XYZxyz(72.2532, 82.8850, 20.5782)
Luminance0.8288 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEF54 #5460FB
analogous
#FB9C54 #FBEF54 #B3FB54
triadic
#FBEF54 #54FBEF #EF54FB
tetradic
#FBEF54 #54FB9C #5460FB #FB54B3
square
#FBEF54 #54FB9C #5460FB #FB54B3
split-complementary
#FBEF54 #54B3FB #9C54FB
monochromatic
#D0C105 #FAE918 #FBEF54 #FCF590 #FEFACC

Accessibility & contrast

On white

1.19
#FBEF54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.58
#FBEF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBEF54
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBEF54#FFFFFF#000000##000000
##FBEF541.001.1917.5817.58
#FFFFFF1.191.0021.0021.00
#00000017.5821.001.001.00
##00000017.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE73E
Deuteranopia (green-blind)
#FFEE5E
Tritanopia (blue-blind)
#FFDFD0
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #fbef54;
/* rgb */ color: rgb(251, 239, 84);
/* oklch */ color: oklch(93.5% 0.170 104.9);
Tailwind
colors: {
  custom: {
    50: '#fff38c',
    500: '#fbef54',
    950: '#000000',
  },
}
SCSS
$custom: #fbef54;
$custom-light: #fff38c;
$custom-dark: #000000;
JSON
{
  "hex": "#fbef54",
  "rgb": {
    "r": 251,
    "g": 239,
    "b": 84
  },
  "hsl": {
    "h": 55.689,
    "s": 95.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.93476,
    "c": 0.1696,
    "h": 104.9
  },
  "luminance": 0.82882
}

Semantic roles & 50–950 ramp

primary
#FBEF54
secondary
#2834CB
accent
#10E600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#19170D
muted
#87857F

Preview Lab

Preview with #FBEF54

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

Preview Lab → · Contrast checker → · Palette generator →

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