#FBEC79#FBEC79

#FBEC79 is a very light, vivid yellow. Relative luminance 0.819; OKLCH L 93.2% C 0.137 H 101.9°. Best body text is #000000 at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#FBEC79
RGBrgb(251, 236, 121)
HSLhsl(53, 94%, 73%)
HSVhsv(53, 52%, 98%)
CMYKcmyk(0%, 6%, 51.8%, 1.6%)
CIE-LABlab(92.52, -9.39, 56.92)
CIE-LCHlch(92.52, 57.69, 99.37°)
OKLaboklab(93.23% -0.0283 0.1341)
OKLCHoklch(93.23% 0.137 101.9)
XYZxyz(73.2325, 81.8832, 30.0329)
Luminance0.8188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEC79 #7988FB
analogous
#FBAB79 #FBEC79 #C9FB79
triadic
#FBEC79 #79FBEC #EC79FB
tetradic
#FBEC79 #79FBAB #7988FB #FB79C9
square
#FBEC79 #79FBAB #7988FB #FB79C9
split-complementary
#FBEC79 #79C9FB #AB79FB
monochromatic
#F2D707 #F9E43E #FBEC79 #FDF4B4 #FEFBE1

Accessibility & contrast

On white

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

On black

17.38
#FBEC79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBEC79
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBEC79#FFFFFF#000000##000000
##FBEC791.001.2117.3817.38
#FFFFFF1.211.0021.0021.00
#00000017.3821.001.001.00
##00000017.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE66E
Deuteranopia (green-blind)
#FFED7E
Tritanopia (blue-blind)
#FFDED2
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #fbec79;
/* rgb */ color: rgb(251, 236, 121);
/* oklch */ color: oklch(93.2% 0.137 101.9);
Tailwind
colors: {
  custom: {
    50: '#fff1a2',
    500: '#fbec79',
    950: '#000000',
  },
}
SCSS
$custom: #fbec79;
$custom-light: #fff1a2;
$custom-dark: #000000;
JSON
{
  "hex": "#fbec79",
  "rgb": {
    "r": 251,
    "g": 236,
    "b": 121
  },
  "hsl": {
    "h": 53.077,
    "s": 94.203,
    "l": 72.941
  },
  "oklch": {
    "l": 0.93231,
    "c": 0.13702,
    "h": 101.9
  },
  "luminance": 0.81881
}

Semantic roles & 50–950 ramp

primary
#FBEC79
secondary
#4052D8
accent
#1AE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #FBEC79

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

Preview Lab → · Contrast checker → · Palette generator →

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