#F8E48D#F8E48D

#F8E48D is a very light, moderate yellow. Relative luminance 0.774; OKLCH L 91.6% C 0.110 H 96.8°. Best body text is #000000 at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#F8E48D
RGBrgb(248, 228, 141)
HSLhsl(49, 88%, 76%)
HSVhsv(49, 43%, 97%)
CMYKcmyk(0%, 8.1%, 43.1%, 2.7%)
CIE-LABlab(90.49, -4.78, 44.83)
CIE-LCHlch(90.49, 45.09, 96.08°)
OKLaboklab(91.64% -0.0129 0.1088)
OKLCHoklch(91.64% 0.11 96.8)
XYZxyz(71.2643, 77.3688, 36.3739)
Luminance0.7737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E48D #8DA1F8
analogous
#F8AF8D #F8E48D #D7F88D
triadic
#F8E48D #8DF8E4 #E48DF8
tetradic
#F8E48D #8DF8AF #8DA1F8 #F88DD7
square
#F8E48D #8DF8AF #8DA1F8 #F88DD7
split-complementary
#F8E48D #8DD7F8 #AF8DF8
monochromatic
#F1C91A #F4D653 #F8E48D #FCF2C7 #FDF8E2

Accessibility & contrast

On white

1.27
#F8E48D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.47
#F8E48D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E48D
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E48D#FFFFFF#000000##000000
##F8E48D1.001.2716.4716.47
#FFFFFF1.271.0021.0021.00
#00000016.4721.001.001.00
##00000016.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4E086
Deuteranopia (green-blind)
#FAE790
Tritanopia (blue-blind)
#FFD8CF
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f8e48d;
/* rgb */ color: rgb(248, 228, 141);
/* oklch */ color: oklch(91.6% 0.110 96.8);
Tailwind
colors: {
  custom: {
    50: '#fcecaf',
    500: '#f8e48d',
    950: '#000000',
  },
}
SCSS
$custom: #f8e48d;
$custom-light: #fcecaf;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e48d",
  "rgb": {
    "r": 248,
    "g": 228,
    "b": 141
  },
  "hsl": {
    "h": 48.785,
    "s": 88.43,
    "l": 76.275
  },
  "oklch": {
    "l": 0.9164,
    "c": 0.10954,
    "h": 96.8
  },
  "luminance": 0.77366
}

Semantic roles & 50–950 ramp

primary
#F8E48D
secondary
#536BD6
accent
#2BE500
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F8E48D

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

Preview Lab → · Contrast checker → · Palette generator →

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