#F8E693#F8E693

#F8E693 is a very light, moderate yellow. Relative luminance 0.787; OKLCH L 92.1% C 0.105 H 97.4°. Best body text is #000000 at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#F8E693
RGBrgb(248, 230, 147)
HSLhsl(49, 88%, 77%)
HSVhsv(49, 41%, 97%)
CMYKcmyk(0%, 7.3%, 40.7%, 2.7%)
CIE-LABlab(91.08, -5.18, 42.62)
CIE-LCHlch(91.08, 42.93, 96.92°)
OKLaboklab(92.13% -0.0136 0.1041)
OKLCHoklch(92.13% 0.105 97.4)
XYZxyz(72.2763, 78.6590, 38.9736)
Luminance0.7866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E693 #93A5F8
analogous
#F8B493 #F8E693 #D7F893
triadic
#F8E693 #93F8E6 #E693F8
tetradic
#F8E693 #93F8B4 #93A5F8 #F893D7
square
#F8E693 #93F8B4 #93A5F8 #F893D7
split-complementary
#F8E693 #93D7F8 #B493F8
monochromatic
#F1CB20 #F4D95A #F8E693 #FCF3CC #FDF8E2

Accessibility & contrast

On white

1.26
#F8E693 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.73
#F8E693 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E693
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E693#FFFFFF#000000##000000
##F8E6931.001.2616.7316.73
#FFFFFF1.261.0021.0021.00
#00000016.7321.001.001.00
##00000016.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E28D
Deuteranopia (green-blind)
#FAE896
Tritanopia (blue-blind)
#FFDBD1
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f8e693;
/* rgb */ color: rgb(248, 230, 147);
/* oklch */ color: oklch(92.1% 0.105 97.4);
Tailwind
colors: {
  custom: {
    50: '#fcedb4',
    500: '#f8e693',
    950: '#000000',
  },
}
SCSS
$custom: #f8e693;
$custom-light: #fcedb4;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e693",
  "rgb": {
    "r": 248,
    "g": 230,
    "b": 147
  },
  "hsl": {
    "h": 49.307,
    "s": 87.826,
    "l": 77.451
  },
  "oklch": {
    "l": 0.92133,
    "c": 0.10493,
    "h": 97.4
  },
  "luminance": 0.78657
}

Semantic roles & 50–950 ramp

primary
#F8E693
secondary
#586FD7
accent
#2AE401
background
#FFFEFD
surface
#FFFDF8
border
#D7D5D1
text
#181611
muted
#868481

Preview Lab

Preview with #F8E693

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

Preview Lab → · Contrast checker → · Palette generator →

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