#F8E56D#F8E56D

#F8E56D 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#F8E56D
RGBrgb(248, 229, 109)
HSLhsl(52, 91%, 70%)
HSVhsv(52, 56%, 97%)
CMYKcmyk(0%, 7.7%, 56%, 2.7%)
CIE-LABlab(90.37, -8.04, 59.81)
CIE-LCHlch(90.37, 60.35, 97.66°)
OKLaboklab(91.42% -0.0256 0.1392)
OKLCHoklch(91.42% 0.141 100.4)
XYZxyz(69.4935, 77.1019, 25.6866)
Luminance0.7710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E56D #6D80F8
analogous
#F8A06D #F8E56D #C5F86D
triadic
#F8E56D #6DF8E5 #E56DF8
tetradic
#F8E56D #6DF8A0 #6D80F8 #F86DC5
square
#F8E56D #6DF8A0 #6D80F8 #F86DC5
split-complementary
#F8E56D #6DC5F8 #A06DF8
monochromatic
#E0C30B #F5DB33 #F8E56D #FBEFA7 #FEFAE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8E56D#FFFFFF#000000##000000
##F8E56D1.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)
#F8DF61
Deuteranopia (green-blind)
#FDE773
Tritanopia (blue-blind)
#FFD7CA
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f8e56d;
/* rgb */ color: rgb(248, 229, 109);
/* oklch */ color: oklch(91.4% 0.141 100.4);
Tailwind
colors: {
  custom: {
    50: '#fded9a',
    500: '#f8e56d',
    950: '#000000',
  },
}
SCSS
$custom: #f8e56d;
$custom-light: #fded9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e56d",
  "rgb": {
    "r": 248,
    "g": 229,
    "b": 109
  },
  "hsl": {
    "h": 51.799,
    "s": 90.85,
    "l": 70
  },
  "oklch": {
    "l": 0.91421,
    "c": 0.14149,
    "h": 100.4
  },
  "luminance": 0.77099
}

Semantic roles & 50–950 ramp

primary
#F8E56D
secondary
#374CD2
accent
#1FE600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F8E56D

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

Preview Lab → · Contrast checker → · Palette generator →

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