#F8E47A#F8E47A

#F8E47A is a very light, vivid yellow. Relative luminance 0.768; OKLCH L 91.4% C 0.129 H 98.9°. Best body text is #000000 at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#F8E47A
RGBrgb(248, 228, 122)
HSLhsl(50, 90%, 73%)
HSVhsv(50, 51%, 97%)
CMYKcmyk(0%, 8.1%, 50.8%, 2.7%)
CIE-LABlab(90.25, -6.52, 53.70)
CIE-LCHlch(90.25, 54.09, 96.92°)
OKLaboklab(91.38% -0.0198 0.1272)
OKLCHoklch(91.38% 0.129 98.9)
XYZxyz(69.9699, 76.8511, 29.5566)
Luminance0.7685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E47A #7A8EF8
analogous
#F8A57A #F8E47A #CDF87A
triadic
#F8E47A #7AF8E4 #E47AF8
tetradic
#F8E47A #7AF8A5 #7A8EF8 #F87ACD
square
#F8E47A #7AF8A5 #7A8EF8 #F87ACD
split-complementary
#F8E47A #7ACDF8 #A57AF8
monochromatic
#EBC80C #F5D840 #F8E47A #FBF0B4 #FDF9E2

Accessibility & contrast

On white

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

On black

16.37
#F8E47A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E47A
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E47A#FFFFFF#000000##000000
##F8E47A1.001.2816.3716.37
#FFFFFF1.281.0021.0021.00
#00000016.3721.001.001.00
##00000016.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DF71
Deuteranopia (green-blind)
#FBE67F
Tritanopia (blue-blind)
#FFD7CB
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f8e47a;
/* rgb */ color: rgb(248, 228, 122);
/* oklch */ color: oklch(91.4% 0.129 98.9);
Tailwind
colors: {
  custom: {
    50: '#fdeca3',
    500: '#f8e47a',
    950: '#000000',
  },
}
SCSS
$custom: #f8e47a;
$custom-light: #fdeca3;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e47a",
  "rgb": {
    "r": 248,
    "g": 228,
    "b": 122
  },
  "hsl": {
    "h": 50.476,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.91375,
    "c": 0.12869,
    "h": 98.9
  },
  "luminance": 0.76848
}

Semantic roles & 50–950 ramp

primary
#F8E47A
secondary
#4259D4
accent
#24E600
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F8E47A

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

Preview Lab → · Contrast checker → · Palette generator →

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