#FBF793#FBF793

#FBF793 is a very light, vivid yellow. Relative luminance 0.891; OKLCH L 95.8% C 0.122 H 106.5°. Best body text is #000000 at 18.83:1 contrast (WCAG AA passes).

Color values

HEX#FBF793
RGBrgb(251, 247, 147)
HSLhsl(58, 93%, 78%)
HSVhsv(58, 41%, 98%)
CMYKcmyk(0%, 1.6%, 41.4%, 1.6%)
CIE-LABlab(95.64, -12.46, 48.44)
CIE-LCHlch(95.64, 50.01, 104.43°)
OKLaboklab(95.81% -0.0347 0.1172)
OKLCHoklch(95.81% 0.122 106.5)
XYZxyz(78.3123, 89.1392, 40.6784)
Luminance0.8914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF793 #9397FB
analogous
#FBC393 #FBF793 #CBFB93
triadic
#FBF793 #93FBF7 #F793FB
tetradic
#FBF793 #93FBC3 #9397FB #FB93CB
square
#FBF793 #93FBC3 #9397FB #FB93CB
split-complementary
#FBF793 #93CBFB #C393FB
monochromatic
#F7EE1D #F9F358 #FBF793 #FDFBCE #FEFDE1

Accessibility & contrast

On white

1.12
#FBF793 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.83
#FBF793 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF793
18.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF793#FFFFFF#000000##000000
##FBF7931.001.1218.8318.83
#FFFFFF1.121.0021.0021.00
#00000018.8321.001.001.00
##00000018.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF08B
Deuteranopia (green-blind)
#FFF597
Tritanopia (blue-blind)
#FFEBDF
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fbf793;
/* rgb */ color: rgb(251, 247, 147);
/* oklch */ color: oklch(95.8% 0.122 106.5);
Tailwind
colors: {
  custom: {
    50: '#fef9b4',
    500: '#fbf793',
    950: '#000000',
  },
}
SCSS
$custom: #fbf793;
$custom-light: #fef9b4;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf793",
  "rgb": {
    "r": 251,
    "g": 247,
    "b": 147
  },
  "hsl": {
    "h": 57.692,
    "s": 92.857,
    "l": 78.039
  },
  "oklch": {
    "l": 0.95805,
    "c": 0.12224,
    "h": 106.5
  },
  "luminance": 0.89137
}

Semantic roles & 50–950 ramp

primary
#FBF793
secondary
#575CDB
accent
#09E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FBF793

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

Preview Lab → · Contrast checker → · Palette generator →

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