#FBEC93#FBEC93

#FBEC93 is a very light, moderate yellow. Relative luminance 0.826; OKLCH L 93.6% C 0.111 H 99.9°. Best body text is #000000 at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#FBEC93
RGBrgb(251, 236, 147)
HSLhsl(51, 93%, 78%)
HSVhsv(51, 41%, 98%)
CMYKcmyk(0%, 6%, 41.4%, 1.6%)
CIE-LABlab(92.84, -7.02, 44.91)
CIE-LCHlch(92.84, 45.46, 98.88°)
OKLaboklab(93.59% -0.019 0.1092)
OKLCHoklch(93.59% 0.111 99.9)
XYZxyz(75.0472, 82.6090, 39.5900)
Luminance0.8261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEC93 #93A2FB
analogous
#FBB893 #FBEC93 #D6FB93
triadic
#FBEC93 #93FBEC #EC93FB
tetradic
#FBEC93 #93FBB8 #93A2FB #FB93D6
square
#FBEC93 #93FBB8 #93A2FB #FB93D6
split-complementary
#FBEC93 #93D6FB #B893FB
monochromatic
#F7D71D #F9E258 #FBEC93 #FDF6CE #FEFAE1

Accessibility & contrast

On white

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

On black

17.52
#FBEC93 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBEC93
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBEC93#FFFFFF#000000##000000
##FBEC931.001.2017.5217.52
#FFFFFF1.201.0021.0021.00
#00000017.5221.001.001.00
##00000017.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE78C
Deuteranopia (green-blind)
#FFED97
Tritanopia (blue-blind)
#FFE0D6
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #fbec93;
/* rgb */ color: rgb(251, 236, 147);
/* oklch */ color: oklch(93.6% 0.111 99.9);
Tailwind
colors: {
  custom: {
    50: '#fef2b4',
    500: '#fbec93',
    950: '#000000',
  },
}
SCSS
$custom: #fbec93;
$custom-light: #fef2b4;
$custom-dark: #000000;
JSON
{
  "hex": "#fbec93",
  "rgb": {
    "r": 251,
    "g": 236,
    "b": 147
  },
  "hsl": {
    "h": 51.346,
    "s": 92.857,
    "l": 78.039
  },
  "oklch": {
    "l": 0.93588,
    "c": 0.11089,
    "h": 99.9
  },
  "luminance": 0.82607
}

Semantic roles & 50–950 ramp

primary
#FBEC93
secondary
#576ADB
accent
#21E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #FBEC93

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

Preview Lab → · Contrast checker → · Palette generator →

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