#F8F47E#F8F47E

#F8F47E is a very light, vivid yellow. Relative luminance 0.862; OKLCH L 94.7% C 0.140 H 107.1°. Best body text is #000000 at 18.23:1 contrast (WCAG AA passes).

Color values

HEX#F8F47E
RGBrgb(248, 244, 126)
HSLhsl(58, 90%, 73%)
HSVhsv(58, 49%, 97%)
CMYKcmyk(0%, 1.6%, 49.2%, 2.7%)
CIE-LABlab(94.38, -14.10, 56.76)
CIE-LCHlch(94.38, 58.48, 103.95°)
OKLaboklab(94.67% -0.0412 0.1342)
OKLCHoklch(94.67% 0.14 107.1)
XYZxyz(74.8298, 86.1662, 32.4245)
Luminance0.8616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F47E #7E82F8
analogous
#F8B77E #F8F47E #BFF87E
triadic
#F8F47E #7EF8F4 #F47EF8
tetradic
#F8F47E #7EF8B7 #7E82F8 #F87EBF
square
#F8F47E #7EF8B7 #7E82F8 #F87EBF
split-complementary
#F8F47E #7EBFF8 #B77EF8
monochromatic
#EFE70D #F5EF44 #F8F47E #FBF9B8 #FDFDE2

Accessibility & contrast

On white

1.15
#F8F47E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.23
#F8F47E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F47E
18.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F47E#FFFFFF#000000##000000
##F8F47E1.001.1518.2318.23
#FFFFFF1.151.0021.0021.00
#00000018.2321.001.001.00
##00000018.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC73
Deuteranopia (green-blind)
#FFF184
Tritanopia (blue-blind)
#FFE7D9
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f8f47e;
/* rgb */ color: rgb(248, 244, 126);
/* oklch */ color: oklch(94.7% 0.140 107.1);
Tailwind
colors: {
  custom: {
    50: '#fdf7a6',
    500: '#f8f47e',
    950: '#000000',
  },
}
SCSS
$custom: #f8f47e;
$custom-light: #fdf7a6;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f47e",
  "rgb": {
    "r": 248,
    "g": 244,
    "b": 126
  },
  "hsl": {
    "h": 58.033,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.94668,
    "c": 0.14037,
    "h": 107.1
  },
  "luminance": 0.86164
}

Semantic roles & 50–950 ramp

primary
#F8F47E
secondary
#464AD5
accent
#08E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181710
muted
#868580

Preview Lab

Preview with #F8F47E

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

Preview Lab → · Contrast checker → · Palette generator →

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