#FBEC66#FBEC66

#FBEC66 is a very light, vivid yellow. Relative luminance 0.815; OKLCH L 93.0% C 0.154 H 102.9°. Best body text is #000000 at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#FBEC66
RGBrgb(251, 236, 102)
HSLhsl(54, 95%, 69%)
HSVhsv(54, 59%, 98%)
CMYKcmyk(0%, 6%, 59.4%, 1.6%)
CIE-LABlab(92.34, -10.80, 65.16)
CIE-LCHlch(92.34, 66.05, 99.41°)
OKLaboklab(93.02% -0.0344 0.1497)
OKLCHoklch(93.02% 0.154 102.9)
XYZxyz(72.1800, 81.4621, 24.4895)
Luminance0.8146 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEC66 #6675FB
analogous
#FBA266 #FBEC66 #BFFB66
triadic
#FBEC66 #66FBEC #EC66FB
tetradic
#FBEC66 #66FBA2 #6675FB #FB66BF
square
#FBEC66 #66FBA2 #6675FB #FB66BF
split-complementary
#FBEC66 #66BFFB #A266FB
monochromatic
#E1CB06 #F9E52A #FBEC66 #FDF3A2 #FEFBDD

Accessibility & contrast

On white

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

On black

17.29
#FBEC66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBEC66
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBEC66#FFFFFF#000000##000000
##FBEC661.001.2117.2917.29
#FFFFFF1.211.0021.0021.00
#00000017.2921.001.001.00
##00000017.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE557
Deuteranopia (green-blind)
#FFEC6D
Tritanopia (blue-blind)
#FFDDCF
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #fbec66;
/* rgb */ color: rgb(251, 236, 102);
/* oklch */ color: oklch(93.0% 0.154 102.9);
Tailwind
colors: {
  custom: {
    50: '#fff196',
    500: '#fbec66',
    950: '#000000',
  },
}
SCSS
$custom: #fbec66;
$custom-light: #fff196;
$custom-dark: #000000;
JSON
{
  "hex": "#fbec66",
  "rgb": {
    "r": 251,
    "g": 236,
    "b": 102
  },
  "hsl": {
    "h": 53.96,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.93023,
    "c": 0.15359,
    "h": 102.9
  },
  "luminance": 0.81459
}

Semantic roles & 50–950 ramp

primary
#FBEC66
secondary
#3041D5
accent
#17E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #FBEC66

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

Preview Lab → · Contrast checker → · Palette generator →

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