#FBF593#FBF593

#FBF593 is a very light, vivid yellow. Relative luminance 0.879; OKLCH L 95.4% C 0.120 H 105.4°. Best body text is #000000 at 18.58:1 contrast (WCAG AA passes).

Color values

HEX#FBF593
RGBrgb(251, 245, 147)
HSLhsl(57, 93%, 78%)
HSVhsv(57, 41%, 98%)
CMYKcmyk(0%, 2.4%, 41.4%, 1.6%)
CIE-LABlab(95.13, -11.48, 47.80)
CIE-LCHlch(95.13, 49.15, 103.50°)
OKLaboklab(95.4% -0.0319 0.1158)
OKLCHoklch(95.4% 0.12 105.4)
XYZxyz(77.7040, 87.9226, 40.4756)
Luminance0.8792 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF593 #9399FB
analogous
#FBC193 #FBF593 #CDFB93
triadic
#FBF593 #93FBF5 #F593FB
tetradic
#FBF593 #93FBC1 #9399FB #FB93CD
square
#FBF593 #93FBC1 #9399FB #FB93CD
split-complementary
#FBF593 #93CDFB #C193FB
monochromatic
#F7EA1D #F9F058 #FBF593 #FDFACE #FEFCE1

Accessibility & contrast

On white

1.13
#FBF593 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.58
#FBF593 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF593
18.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF593#FFFFFF#000000##000000
##FBF5931.001.1318.5818.58
#FFFFFF1.131.0021.0021.00
#00000018.5821.001.001.00
##00000018.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE8B
Deuteranopia (green-blind)
#FFF397
Tritanopia (blue-blind)
#FFE9DD
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fbf593;
/* rgb */ color: rgb(251, 245, 147);
/* oklch */ color: oklch(95.4% 0.120 105.4);
Tailwind
colors: {
  custom: {
    50: '#fef8b4',
    500: '#fbf593',
    950: '#000000',
  },
}
SCSS
$custom: #fbf593;
$custom-light: #fef8b4;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf593",
  "rgb": {
    "r": 251,
    "g": 245,
    "b": 147
  },
  "hsl": {
    "h": 56.538,
    "s": 92.857,
    "l": 78.039
  },
  "oklch": {
    "l": 0.954,
    "c": 0.12007,
    "h": 105.4
  },
  "luminance": 0.87921
}

Semantic roles & 50–950 ramp

primary
#FBF593
secondary
#575FDB
accent
#0DE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FBF593

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

Preview Lab → · Contrast checker → · Palette generator →

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