#F8F893#F8F893

#F8F893 is a very light, vivid yellow. Relative luminance 0.892; OKLCH L 95.8% C 0.124 H 108.5°. Best body text is #000000 at 18.84:1 contrast (WCAG AA passes).

Color values

HEX#F8F893
RGBrgb(248, 248, 147)
HSLhsl(60, 88%, 77%)
HSVhsv(60, 41%, 97%)
CMYKcmyk(0%, 0%, 40.7%, 2.7%)
CIE-LABlab(95.66, -14.10, 48.42)
CIE-LCHlch(95.66, 50.43, 106.24°)
OKLaboklab(95.77% -0.0393 0.1172)
OKLCHoklch(95.77% 0.124 108.5)
XYZxyz(77.5465, 89.1995, 40.7303)
Luminance0.8920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F893 #9393F8
analogous
#F8C693 #F8F893 #C6F893
triadic
#F8F893 #93F8F8 #F893F8
tetradic
#F8F893 #93F8C6 #9393F8 #F893C6
square
#F8F893 #93F8C6 #9393F8 #F893C6
split-complementary
#F8F893 #93C6F8 #C693F8
monochromatic
#F1F120 #F4F45A #F8F893 #FCFCCC #FDFDE2

Accessibility & contrast

On white

1.11
#F8F893 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.84
#F8F893 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F893
18.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F893#FFFFFF#000000##000000
##F8F8931.001.1118.8418.84
#FFFFFF1.111.0021.0021.00
#00000018.8421.001.001.00
##00000018.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8f893;
/* rgb */ color: rgb(248, 248, 147);
/* oklch */ color: oklch(95.8% 0.124 108.5);
Tailwind
colors: {
  custom: {
    50: '#fcfab4',
    500: '#f8f893',
    950: '#000000',
  },
}
SCSS
$custom: #f8f893;
$custom-light: #fcfab4;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f893",
  "rgb": {
    "r": 248,
    "g": 248,
    "b": 147
  },
  "hsl": {
    "h": 60,
    "s": 87.826,
    "l": 77.451
  },
  "oklch": {
    "l": 0.95769,
    "c": 0.12359,
    "h": 108.5
  },
  "luminance": 0.89198
}

Semantic roles & 50–950 ramp

primary
#F8F893
secondary
#5858D7
accent
#01E401
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #F8F893

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

Preview Lab → · Contrast checker → · Palette generator →

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