#F8E56A#F8E56A

#F8E56A is a very light, vivid yellow. Relative luminance 0.770; OKLCH L 91.4% C 0.144 H 100.6°. Best body text is #000000 at 16.41:1 contrast (WCAG AA passes).

Color values

HEX#F8E56A
RGBrgb(248, 229, 106)
HSLhsl(52, 91%, 69%)
HSVhsv(52, 57%, 97%)
CMYKcmyk(0%, 7.7%, 57.3%, 2.7%)
CIE-LABlab(90.34, -8.26, 61.12)
CIE-LCHlch(90.34, 61.68, 97.70°)
OKLaboklab(91.39% -0.0265 0.1416)
OKLCHoklch(91.39% 0.144 100.6)
XYZxyz(69.3348, 77.0384, 24.8506)
Luminance0.7704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E56A #6A7DF8
analogous
#F89E6A #F8E56A #C4F86A
triadic
#F8E56A #6AF8E5 #E56AF8
tetradic
#F8E56A #6AF89E #6A7DF8 #F86AC4
square
#F8E56A #6AF89E #6A7DF8 #F86AC4
split-complementary
#F8E56A #6AC4F8 #9E6AF8
monochromatic
#DDC10A #F5DB30 #F8E56A #FBEFA4 #FDF9DF

Accessibility & contrast

On white

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

On black

16.41
#F8E56A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E56A
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E56A#FFFFFF#000000##000000
##F8E56A1.001.2816.4116.41
#FFFFFF1.281.0021.0021.00
#00000016.4121.001.001.00
##00000016.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8e56a;
/* rgb */ color: rgb(248, 229, 106);
/* oklch */ color: oklch(91.4% 0.144 100.6);
Tailwind
colors: {
  custom: {
    50: '#fdec98',
    500: '#f8e56a',
    950: '#000000',
  },
}
SCSS
$custom: #f8e56a;
$custom-light: #fdec98;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e56a",
  "rgb": {
    "r": 248,
    "g": 229,
    "b": 106
  },
  "hsl": {
    "h": 51.972,
    "s": 91.026,
    "l": 69.412
  },
  "oklch": {
    "l": 0.91389,
    "c": 0.14409,
    "h": 100.6
  },
  "luminance": 0.77036
}

Semantic roles & 50–950 ramp

primary
#F8E56A
secondary
#3449D2
accent
#1FE600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F8E56A

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

Preview Lab → · Contrast checker → · Palette generator →

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