#F8E56E#F8E56E

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

Color values

HEX#F8E56E
RGBrgb(248, 229, 110)
HSLhsl(52, 91%, 70%)
HSVhsv(52, 56%, 97%)
CMYKcmyk(0%, 7.7%, 55.6%, 2.7%)
CIE-LABlab(90.38, -7.97, 59.38)
CIE-LCHlch(90.38, 59.91, 97.64°)
OKLaboklab(91.43% -0.0253 0.1383)
OKLCHoklch(91.43% 0.141 100.4)
XYZxyz(69.5476, 77.1236, 25.9717)
Luminance0.7712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E56E #6E81F8
analogous
#F8A06E #F8E56E #C6F86E
triadic
#F8E56E #6EF8E5 #E56EF8
tetradic
#F8E56E #6EF8A0 #6E81F8 #F86EC6
square
#F8E56E #6EF8A0 #6E81F8 #F86EC6
split-complementary
#F8E56E #6EC6F8 #A06EF8
monochromatic
#E1C30B #F5DB34 #F8E56E #FBEFA8 #FEFAE2

Accessibility & contrast

On white

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

On black

16.42
#F8E56E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E56E
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E56E#FFFFFF#000000##000000
##F8E56E1.001.2816.4216.42
#FFFFFF1.281.0021.0021.00
#00000016.4221.001.001.00
##00000016.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DF62
Deuteranopia (green-blind)
#FDE774
Tritanopia (blue-blind)
#FFD7CA
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f8e56e;
/* rgb */ color: rgb(248, 229, 110);
/* oklch */ color: oklch(91.4% 0.141 100.4);
Tailwind
colors: {
  custom: {
    50: '#fded9b',
    500: '#f8e56e',
    950: '#000000',
  },
}
SCSS
$custom: #f8e56e;
$custom-light: #fded9b;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e56e",
  "rgb": {
    "r": 248,
    "g": 229,
    "b": 110
  },
  "hsl": {
    "h": 51.739,
    "s": 90.789,
    "l": 70.196
  },
  "oklch": {
    "l": 0.91433,
    "c": 0.14061,
    "h": 100.4
  },
  "luminance": 0.77121
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8E56E

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

Preview Lab → · Contrast checker → · Palette generator →

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