#F8E56F#F8E56F

#F8E56F is a very light, vivid yellow. Relative luminance 0.771; OKLCH L 91.4% C 0.140 H 100.3°. Best body text is #000000 at 16.43:1 contrast (WCAG AA passes).

Color values

HEX#F8E56F
RGBrgb(248, 229, 111)
HSLhsl(52, 91%, 70%)
HSVhsv(52, 55%, 97%)
CMYKcmyk(0%, 7.7%, 55.2%, 2.7%)
CIE-LABlab(90.39, -7.89, 58.94)
CIE-LCHlch(90.39, 59.46, 97.63°)
OKLaboklab(91.44% -0.0249 0.1375)
OKLCHoklch(91.44% 0.14 100.3)
XYZxyz(69.6024, 77.1455, 26.2601)
Luminance0.7714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E56F #6F82F8
analogous
#F8A06F #F8E56F #C6F86F
triadic
#F8E56F #6FF8E5 #E56FF8
tetradic
#F8E56F #6FF8A0 #6F82F8 #F86FC6
square
#F8E56F #6FF8A0 #6F82F8 #F86FC6
split-complementary
#F8E56F #6FC6F8 #A06FF8
monochromatic
#E2C40B #F5DA35 #F8E56F #FBF0A9 #FEFAE2

Accessibility & contrast

On white

1.28
#F8E56F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.43
#F8E56F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E56F
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E56F#FFFFFF#000000##000000
##F8E56F1.001.2816.4316.43
#FFFFFF1.281.0021.0021.00
#00000016.4321.001.001.00
##00000016.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DF63
Deuteranopia (green-blind)
#FDE775
Tritanopia (blue-blind)
#FFD7CB
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f8e56f;
/* rgb */ color: rgb(248, 229, 111);
/* oklch */ color: oklch(91.4% 0.140 100.3);
Tailwind
colors: {
  custom: {
    50: '#fded9c',
    500: '#f8e56f',
    950: '#000000',
  },
}
SCSS
$custom: #f8e56f;
$custom-light: #fded9c;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e56f",
  "rgb": {
    "r": 248,
    "g": 229,
    "b": 111
  },
  "hsl": {
    "h": 51.679,
    "s": 90.728,
    "l": 70.392
  },
  "oklch": {
    "l": 0.91444,
    "c": 0.13972,
    "h": 100.3
  },
  "luminance": 0.77143
}

Semantic roles & 50–950 ramp

primary
#F8E56F
secondary
#384ED3
accent
#20E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F8E56F

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

Preview Lab → · Contrast checker → · Palette generator →

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