#FBEC95#FBEC95

#FBEC95 is a very light, moderate yellow. Relative luminance 0.827; OKLCH L 93.6% C 0.109 H 99.7°. Best body text is #000000 at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#FBEC95
RGBrgb(251, 236, 149)
HSLhsl(51, 93%, 78%)
HSVhsv(51, 41%, 98%)
CMYKcmyk(0%, 6%, 40.6%, 1.6%)
CIE-LABlab(92.87, -6.81, 43.96)
CIE-LCHlch(92.87, 44.49, 98.81°)
OKLaboklab(93.62% -0.0183 0.1072)
OKLCHoklch(93.62% 0.109 99.7)
XYZxyz(75.2055, 82.6723, 40.4237)
Luminance0.8267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEC95 #95A4FB
analogous
#FBB995 #FBEC95 #D7FB95
triadic
#FBEC95 #95FBEC #EC95FB
tetradic
#FBEC95 #95FBB9 #95A4FB #FB95D7
square
#FBEC95 #95FBB9 #95A4FB #FB95D7
split-complementary
#FBEC95 #95D7FB #B995FB
monochromatic
#F7D71F #F9E15A #FBEC95 #FDF7D0 #FEFAE2

Accessibility & contrast

On white

1.20
#FBEC95 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.53
#FBEC95 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBEC95
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBEC95#FFFFFF#000000##000000
##FBEC951.001.2017.5317.53
#FFFFFF1.201.0021.0021.00
#00000017.5321.001.001.00
##00000017.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE78E
Deuteranopia (green-blind)
#FFED98
Tritanopia (blue-blind)
#FFE1D6
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #fbec95;
/* rgb */ color: rgb(251, 236, 149);
/* oklch */ color: oklch(93.6% 0.109 99.7);
Tailwind
colors: {
  custom: {
    50: '#fef2b5',
    500: '#fbec95',
    950: '#000000',
  },
}
SCSS
$custom: #fbec95;
$custom-light: #fef2b5;
$custom-dark: #000000;
JSON
{
  "hex": "#fbec95",
  "rgb": {
    "r": 251,
    "g": 236,
    "b": 149
  },
  "hsl": {
    "h": 51.176,
    "s": 92.727,
    "l": 78.431
  },
  "oklch": {
    "l": 0.93619,
    "c": 0.10874,
    "h": 99.7
  },
  "luminance": 0.8267
}

Semantic roles & 50–950 ramp

primary
#FBEC95
secondary
#596CDC
accent
#22E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #FBEC95

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

Preview Lab → · Contrast checker → · Palette generator →

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