#F8E490#F8E490

#F8E490 is a very light, moderate yellow. Relative luminance 0.775; OKLCH L 91.7% C 0.106 H 96.4°. Best body text is #000000 at 16.49:1 contrast (WCAG AA passes).

Color values

HEX#F8E490
RGBrgb(248, 228, 144)
HSLhsl(48, 88%, 77%)
HSVhsv(48, 42%, 97%)
CMYKcmyk(0%, 8.1%, 41.9%, 2.7%)
CIE-LABlab(90.53, -4.48, 43.40)
CIE-LCHlch(90.53, 43.63, 95.89°)
OKLaboklab(91.69% -0.0118 0.1057)
OKLCHoklch(91.69% 0.106 96.4)
XYZxyz(71.4905, 77.4593, 37.5655)
Luminance0.7746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E490 #90A4F8
analogous
#F8B090 #F8E490 #D8F890
triadic
#F8E490 #90F8E4 #E490F8
tetradic
#F8E490 #90F8B0 #90A4F8 #F890D8
square
#F8E490 #90F8B0 #90A4F8 #F890D8
split-complementary
#F8E490 #90D8F8 #B090F8
monochromatic
#F1C81D #F4D656 #F8E490 #FCF2CA #FDF8E2

Accessibility & contrast

On white

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

On black

16.49
#F8E490 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E490
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E490#FFFFFF#000000##000000
##F8E4901.001.2716.4916.49
#FFFFFF1.271.0021.0021.00
#00000016.4921.001.001.00
##00000016.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8e490;
/* rgb */ color: rgb(248, 228, 144);
/* oklch */ color: oklch(91.7% 0.106 96.4);
Tailwind
colors: {
  custom: {
    50: '#fcecb1',
    500: '#f8e490',
    950: '#000000',
  },
}
SCSS
$custom: #f8e490;
$custom-light: #fcecb1;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e490",
  "rgb": {
    "r": 248,
    "g": 228,
    "b": 144
  },
  "hsl": {
    "h": 48.462,
    "s": 88.136,
    "l": 76.863
  },
  "oklch": {
    "l": 0.91687,
    "c": 0.10635,
    "h": 96.4
  },
  "luminance": 0.77457
}

Semantic roles & 50–950 ramp

primary
#F8E490
secondary
#556ED7
accent
#2DE501
background
#FFFEFD
surface
#FFFDF8
border
#D7D5D1
text
#181611
muted
#868481

Preview Lab

Preview with #F8E490

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

Preview Lab → · Contrast checker → · Palette generator →

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