#FBEF74#FBEF74

#FBEF74 is a very light, vivid yellow. Relative luminance 0.835; OKLCH L 93.8% C 0.144 H 103.7°. Best body text is #000000 at 17.70:1 contrast (WCAG AA passes).

Color values

HEX#FBEF74
RGBrgb(251, 239, 116)
HSLhsl(55, 94%, 72%)
HSVhsv(55, 54%, 98%)
CMYKcmyk(0%, 4.8%, 53.8%, 1.6%)
CIE-LABlab(93.24, -11.27, 60.03)
CIE-LCHlch(93.24, 61.08, 100.63°)
OKLaboklab(93.78% -0.0343 0.1403)
OKLCHoklch(93.78% 0.144 103.7)
XYZxyz(73.8048, 83.5057, 28.7501)
Luminance0.8350 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEF74 #7480FB
analogous
#FBAC74 #FBEF74 #C3FB74
triadic
#FBEF74 #74FBEF #EF74FB
tetradic
#FBEF74 #74FBAC #7480FB #FB74C3
square
#FBEF74 #74FBAC #7480FB #FB74C3
split-complementary
#FBEF74 #74C3FB #AC74FB
monochromatic
#EED907 #F9E839 #FBEF74 #FDF6AF #FEFCE1

Accessibility & contrast

On white

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

On black

17.70
#FBEF74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBEF74
17.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBEF74#FFFFFF#000000##000000
##FBEF741.001.1917.7017.70
#FFFFFF1.191.0021.0021.00
#00000017.7021.001.001.00
##00000017.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE868
Deuteranopia (green-blind)
#FFEE7A
Tritanopia (blue-blind)
#FFE1D3
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #fbef74;
/* rgb */ color: rgb(251, 239, 116);
/* oklch */ color: oklch(93.8% 0.144 103.7);
Tailwind
colors: {
  custom: {
    50: '#fff49f',
    500: '#fbef74',
    950: '#000000',
  },
}
SCSS
$custom: #fbef74;
$custom-light: #fff49f;
$custom-dark: #000000;
JSON
{
  "hex": "#fbef74",
  "rgb": {
    "r": 251,
    "g": 239,
    "b": 116
  },
  "hsl": {
    "h": 54.667,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.93779,
    "c": 0.14443,
    "h": 103.7
  },
  "luminance": 0.83503
}

Semantic roles & 50–950 ramp

primary
#FBEF74
secondary
#3C4AD7
accent
#14E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FBEF74

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

Preview Lab → · Contrast checker → · Palette generator →

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