#FBEB74#FBEB74

#FBEB74 is a very light, vivid yellow. Relative luminance 0.812; OKLCH L 93.0% C 0.141 H 101.7°. Best body text is #000000 at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#FBEB74
RGBrgb(251, 235, 116)
HSLhsl(53, 94%, 72%)
HSVhsv(53, 54%, 98%)
CMYKcmyk(0%, 6.4%, 53.8%, 1.6%)
CIE-LABlab(92.22, -9.29, 58.85)
CIE-LCHlch(92.22, 59.58, 98.97°)
OKLaboklab(92.97% -0.0286 0.1378)
OKLCHoklch(92.97% 0.141 101.7)
XYZxyz(72.6467, 81.1895, 28.3640)
Luminance0.8119 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEB74 #7484FB
analogous
#FBA874 #FBEB74 #C8FB74
triadic
#FBEB74 #74FBEB #EB74FB
tetradic
#FBEB74 #74FBA8 #7484FB #FB74C8
square
#FBEB74 #74FBA8 #7484FB #FB74C8
split-complementary
#FBEB74 #74C8FB #A874FB
monochromatic
#EED207 #F9E239 #FBEB74 #FDF4AF #FEFBE1

Accessibility & contrast

On white

1.22
#FBEB74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.24
#FBEB74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBEB74
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBEB74#FFFFFF#000000##000000
##FBEB741.001.2217.2417.24
#FFFFFF1.221.0021.0021.00
#00000017.2421.001.001.00
##00000017.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE569
Deuteranopia (green-blind)
#FFEC7A
Tritanopia (blue-blind)
#FFDDD0
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #fbeb74;
/* rgb */ color: rgb(251, 235, 116);
/* oklch */ color: oklch(93.0% 0.141 101.7);
Tailwind
colors: {
  custom: {
    50: '#fff19f',
    500: '#fbeb74',
    950: '#000000',
  },
}
SCSS
$custom: #fbeb74;
$custom-light: #fff19f;
$custom-dark: #000000;
JSON
{
  "hex": "#fbeb74",
  "rgb": {
    "r": 251,
    "g": 235,
    "b": 116
  },
  "hsl": {
    "h": 52.889,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.9297,
    "c": 0.1407,
    "h": 101.7
  },
  "luminance": 0.81187
}

Semantic roles & 50–950 ramp

primary
#FBEB74
secondary
#3C4ED7
accent
#1BE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #FBEB74

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

Preview Lab → · Contrast checker → · Palette generator →

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