#F8F47A#F8F47A

#F8F47A is a very light, vivid yellow. Relative luminance 0.861; OKLCH L 94.6% C 0.144 H 107.2°. Best body text is #000000 at 18.21:1 contrast (WCAG AA passes).

Color values

HEX#F8F47A
RGBrgb(248, 244, 122)
HSLhsl(58, 90%, 73%)
HSVhsv(58, 51%, 97%)
CMYKcmyk(0%, 1.6%, 50.8%, 2.7%)
CIE-LABlab(94.34, -14.44, 58.54)
CIE-LCHlch(94.34, 60.29, 103.85°)
OKLaboklab(94.62% -0.0425 0.1377)
OKLCHoklch(94.62% 0.144 107.2)
XYZxyz(74.5769, 86.0650, 31.0923)
Luminance0.8606 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F47A #7A7EF8
analogous
#F8B57A #F8F47A #BDF87A
triadic
#F8F47A #7AF8F4 #F47AF8
tetradic
#F8F47A #7AF8B5 #7A7EF8 #F87ABD
square
#F8F47A #7AF8B5 #7A7EF8 #F87ABD
split-complementary
#F8F47A #7ABDF8 #B57AF8
monochromatic
#EBE40C #F5EF40 #F8F47A #FBF9B4 #FDFDE2

Accessibility & contrast

On white

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

On black

18.21
#F8F47A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F47A
18.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F47A#FFFFFF#000000##000000
##F8F47A1.001.1518.2118.21
#FFFFFF1.151.0021.0021.00
#00000018.2121.001.001.00
##00000018.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6F
Deuteranopia (green-blind)
#FFF180
Tritanopia (blue-blind)
#FFE7D8
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f8f47a;
/* rgb */ color: rgb(248, 244, 122);
/* oklch */ color: oklch(94.6% 0.144 107.2);
Tailwind
colors: {
  custom: {
    50: '#fdf7a3',
    500: '#f8f47a',
    950: '#000000',
  },
}
SCSS
$custom: #f8f47a;
$custom-light: #fdf7a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f47a",
  "rgb": {
    "r": 248,
    "g": 244,
    "b": 122
  },
  "hsl": {
    "h": 58.095,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.9462,
    "c": 0.14413,
    "h": 107.2
  },
  "luminance": 0.86063
}

Semantic roles & 50–950 ramp

primary
#F8F47A
secondary
#4247D4
accent
#07E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F8F47A

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

Preview Lab → · Contrast checker → · Palette generator →

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