#FBEC74#FBEC74

#FBEC74 is a very light, vivid yellow. Relative luminance 0.818; OKLCH L 93.2% C 0.142 H 102.2°. Best body text is #000000 at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#FBEC74
RGBrgb(251, 236, 116)
HSLhsl(53, 94%, 72%)
HSVhsv(53, 54%, 98%)
CMYKcmyk(0%, 6%, 53.8%, 1.6%)
CIE-LABlab(92.47, -9.79, 59.14)
CIE-LCHlch(92.47, 59.95, 99.40°)
OKLaboklab(93.17% -0.03 0.1384)
OKLCHoklch(93.17% 0.142 102.2)
XYZxyz(72.9338, 81.7637, 28.4597)
Luminance0.8176 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEC74 #7483FB
analogous
#FBA874 #FBEC74 #C7FB74
triadic
#FBEC74 #74FBEC #EC74FB
tetradic
#FBEC74 #74FBA8 #7483FB #FB74C7
square
#FBEC74 #74FBA8 #7483FB #FB74C7
split-complementary
#FBEC74 #74C7FB #A874FB
monochromatic
#EED407 #F9E439 #FBEC74 #FDF4AF #FEFBE1

Accessibility & contrast

On white

1.21
#FBEC74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.35
#FBEC74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBEC74
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBEC74#FFFFFF#000000##000000
##FBEC741.001.2117.3517.35
#FFFFFF1.211.0021.0021.00
#00000017.3521.001.001.00
##00000017.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbec74;
/* rgb */ color: rgb(251, 236, 116);
/* oklch */ color: oklch(93.2% 0.142 102.2);
Tailwind
colors: {
  custom: {
    50: '#fff19f',
    500: '#fbec74',
    950: '#000000',
  },
}
SCSS
$custom: #fbec74;
$custom-light: #fff19f;
$custom-dark: #000000;
JSON
{
  "hex": "#fbec74",
  "rgb": {
    "r": 251,
    "g": 236,
    "b": 116
  },
  "hsl": {
    "h": 53.333,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.93172,
    "c": 0.14161,
    "h": 102.2
  },
  "luminance": 0.81761
}

Semantic roles & 50–950 ramp

primary
#FBEC74
secondary
#3C4DD7
accent
#1AE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #FBEC74

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

Preview Lab → · Contrast checker → · Palette generator →

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