#F8F593#F8F593

#F8F593 is a very light, vivid yellow. Relative luminance 0.874; OKLCH L 95.2% C 0.120 H 106.9°. Best body text is #000000 at 18.47:1 contrast (WCAG AA passes).

Color values

HEX#F8F593
RGBrgb(248, 245, 147)
HSLhsl(58, 88%, 77%)
HSVhsv(58, 41%, 97%)
CMYKcmyk(0%, 1.2%, 40.7%, 2.7%)
CIE-LABlab(94.89, -12.63, 47.45)
CIE-LCHlch(94.89, 49.10, 104.91°)
OKLaboklab(95.16% -0.035 0.115)
OKLCHoklch(95.16% 0.12 106.9)
XYZxyz(76.6316, 87.3696, 40.4253)
Luminance0.8737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F593 #9396F8
analogous
#F8C393 #F8F593 #C8F893
triadic
#F8F593 #93F8F5 #F593F8
tetradic
#F8F593 #93F8C3 #9396F8 #F893C8
square
#F8F593 #93F8C3 #9396F8 #F893C8
split-complementary
#F8F593 #93C8F8 #C393F8
monochromatic
#F1EA20 #F4F05A #F8F593 #FCFACC #FDFCE2

Accessibility & contrast

On white

1.14
#F8F593 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.47
#F8F593 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F593
18.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F593#FFFFFF#000000##000000
##F8F5931.001.1418.4718.47
#FFFFFF1.141.0021.0021.00
#00000018.4721.001.001.00
##00000018.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE8B
Deuteranopia (green-blind)
#FFF297
Tritanopia (blue-blind)
#FFEADD
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f8f593;
/* rgb */ color: rgb(248, 245, 147);
/* oklch */ color: oklch(95.2% 0.120 106.9);
Tailwind
colors: {
  custom: {
    50: '#fcf8b4',
    500: '#f8f593',
    950: '#000000',
  },
}
SCSS
$custom: #f8f593;
$custom-light: #fcf8b4;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f593",
  "rgb": {
    "r": 248,
    "g": 245,
    "b": 147
  },
  "hsl": {
    "h": 58.218,
    "s": 87.826,
    "l": 77.451
  },
  "oklch": {
    "l": 0.95158,
    "c": 0.12024,
    "h": 106.9
  },
  "luminance": 0.87368
}

Semantic roles & 50–950 ramp

primary
#F8F593
secondary
#585CD7
accent
#08E401
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #F8F593

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

Preview Lab → · Contrast checker → · Palette generator →

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