#F8EF93#F8EF93

#F8EF93 is a very light, moderate yellow. Relative luminance 0.838; OKLCH L 93.9% C 0.114 H 103.5°. Best body text is #000000 at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#F8EF93
RGBrgb(248, 239, 147)
HSLhsl(55, 88%, 77%)
HSVhsv(55, 41%, 97%)
CMYKcmyk(0%, 3.6%, 40.7%, 2.7%)
CIE-LABlab(93.36, -9.67, 45.52)
CIE-LCHlch(93.36, 46.54, 101.99°)
OKLaboklab(93.94% -0.0265 0.1107)
OKLCHoklch(93.94% 0.114 103.5)
XYZxyz(74.8458, 83.7980, 39.8301)
Luminance0.8380 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EF93 #939CF8
analogous
#F8BC93 #F8EF93 #CFF893
triadic
#F8EF93 #93F8EF #EF93F8
tetradic
#F8EF93 #93F8BC #939CF8 #F893CF
square
#F8EF93 #93F8BC #939CF8 #F893CF
split-complementary
#F8EF93 #93CFF8 #BC93F8
monochromatic
#F1DE20 #F4E65A #F8EF93 #FCF8CC #FDFBE2

Accessibility & contrast

On white

1.18
#F8EF93 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.76
#F8EF93 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8EF93
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8EF93#FFFFFF#000000##000000
##F8EF931.001.1817.7617.76
#FFFFFF1.181.0021.0021.00
#00000017.7621.001.001.00
##00000017.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE98C
Deuteranopia (green-blind)
#FFEE97
Tritanopia (blue-blind)
#FFE4D8
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f8ef93;
/* rgb */ color: rgb(248, 239, 147);
/* oklch */ color: oklch(93.9% 0.114 103.5);
Tailwind
colors: {
  custom: {
    50: '#fcf4b4',
    500: '#f8ef93',
    950: '#000000',
  },
}
SCSS
$custom: #f8ef93;
$custom-light: #fcf4b4;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ef93",
  "rgb": {
    "r": 248,
    "g": 239,
    "b": 147
  },
  "hsl": {
    "h": 54.653,
    "s": 87.826,
    "l": 77.451
  },
  "oklch": {
    "l": 0.93941,
    "c": 0.11379,
    "h": 103.5
  },
  "luminance": 0.83796
}

Semantic roles & 50–950 ramp

primary
#F8EF93
secondary
#5863D7
accent
#15E401
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #F8EF93

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

Preview Lab → · Contrast checker → · Palette generator →

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